Class HelmReleasePropertiesDefinition


  • public final class HelmReleasePropertiesDefinition
    extends Object
    Properties for HelmRelease objects.
    • Constructor Detail

      • HelmReleasePropertiesDefinition

        public HelmReleasePropertiesDefinition()
    • Method Detail

      • lastRevisionApplied

        public Long lastRevisionApplied()
        Get the lastRevisionApplied property: The revision number of the last released object change.
        Returns:
        the lastRevisionApplied value.
      • withLastRevisionApplied

        public HelmReleasePropertiesDefinition withLastRevisionApplied​(Long lastRevisionApplied)
        Set the lastRevisionApplied property: The revision number of the last released object change.
        Parameters:
        lastRevisionApplied - the lastRevisionApplied value to set.
        Returns:
        the HelmReleasePropertiesDefinition object itself.
      • helmChartRef

        public ObjectReferenceDefinition helmChartRef()
        Get the helmChartRef property: The reference to the HelmChart object used as the source to this HelmRelease.
        Returns:
        the helmChartRef value.
      • withHelmChartRef

        public HelmReleasePropertiesDefinition withHelmChartRef​(ObjectReferenceDefinition helmChartRef)
        Set the helmChartRef property: The reference to the HelmChart object used as the source to this HelmRelease.
        Parameters:
        helmChartRef - the helmChartRef value to set.
        Returns:
        the HelmReleasePropertiesDefinition object itself.
      • failureCount

        public Long failureCount()
        Get the failureCount property: Total number of times that the HelmRelease failed to install or upgrade.
        Returns:
        the failureCount value.
      • withFailureCount

        public HelmReleasePropertiesDefinition withFailureCount​(Long failureCount)
        Set the failureCount property: Total number of times that the HelmRelease failed to install or upgrade.
        Parameters:
        failureCount - the failureCount value to set.
        Returns:
        the HelmReleasePropertiesDefinition object itself.
      • installFailureCount

        public Long installFailureCount()
        Get the installFailureCount property: Number of times that the HelmRelease failed to install.
        Returns:
        the installFailureCount value.
      • withInstallFailureCount

        public HelmReleasePropertiesDefinition withInstallFailureCount​(Long installFailureCount)
        Set the installFailureCount property: Number of times that the HelmRelease failed to install.
        Parameters:
        installFailureCount - the installFailureCount value to set.
        Returns:
        the HelmReleasePropertiesDefinition object itself.
      • upgradeFailureCount

        public Long upgradeFailureCount()
        Get the upgradeFailureCount property: Number of times that the HelmRelease failed to upgrade.
        Returns:
        the upgradeFailureCount value.
      • withUpgradeFailureCount

        public HelmReleasePropertiesDefinition withUpgradeFailureCount​(Long upgradeFailureCount)
        Set the upgradeFailureCount property: Number of times that the HelmRelease failed to upgrade.
        Parameters:
        upgradeFailureCount - the upgradeFailureCount value to set.
        Returns:
        the HelmReleasePropertiesDefinition object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.