Class HelmReleasePropertiesDefinition
- java.lang.Object
-
- com.azure.resourcemanager.kubernetesconfiguration.models.HelmReleasePropertiesDefinition
-
public final class HelmReleasePropertiesDefinition extends Object
Properties for HelmRelease objects.
-
-
Constructor Summary
Constructors Constructor Description HelmReleasePropertiesDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
failureCount()
Get the failureCount property: Total number of times that the HelmRelease failed to install or upgrade.ObjectReferenceDefinition
helmChartRef()
Get the helmChartRef property: The reference to the HelmChart object used as the source to this HelmRelease.Long
installFailureCount()
Get the installFailureCount property: Number of times that the HelmRelease failed to install.Long
lastRevisionApplied()
Get the lastRevisionApplied property: The revision number of the last released object change.Long
upgradeFailureCount()
Get the upgradeFailureCount property: Number of times that the HelmRelease failed to upgrade.void
validate()
Validates the instance.HelmReleasePropertiesDefinition
withFailureCount(Long failureCount)
Set the failureCount property: Total number of times that the HelmRelease failed to install or upgrade.HelmReleasePropertiesDefinition
withHelmChartRef(ObjectReferenceDefinition helmChartRef)
Set the helmChartRef property: The reference to the HelmChart object used as the source to this HelmRelease.HelmReleasePropertiesDefinition
withInstallFailureCount(Long installFailureCount)
Set the installFailureCount property: Number of times that the HelmRelease failed to install.HelmReleasePropertiesDefinition
withLastRevisionApplied(Long lastRevisionApplied)
Set the lastRevisionApplied property: The revision number of the last released object change.HelmReleasePropertiesDefinition
withUpgradeFailureCount(Long upgradeFailureCount)
Set the upgradeFailureCount property: Number of times that the HelmRelease failed to upgrade.
-
-
-
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.
-
-