Class AddonStatus
java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.AddonStatus
Status of the addon.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the errorMessage property: ErrorMessage will be set in the event that there is a terminal problem reconciling the AddOn and will contain a more verbose string suitable for logging and human consumption.phase()
Get the phase property: Phase represents the current phase of cluster actuation.ready()
Get the ready property: The ready property.void
validate()
Validates the instance.withErrorMessage
(String errorMessage) Set the errorMessage property: ErrorMessage will be set in the event that there is a terminal problem reconciling the AddOn and will contain a more verbose string suitable for logging and human consumption.Set the phase property: Phase represents the current phase of cluster actuation.Set the ready property: The ready property.
-
Constructor Details
-
AddonStatus
public AddonStatus()Creates an instance of AddonStatus class.
-
-
Method Details
-
errorMessage
Get the errorMessage property: ErrorMessage will be set in the event that there is a terminal problem reconciling the AddOn and will contain a more verbose string suitable for logging and human consumption.- Returns:
- the errorMessage value.
-
withErrorMessage
Set the errorMessage property: ErrorMessage will be set in the event that there is a terminal problem reconciling the AddOn and will contain a more verbose string suitable for logging and human consumption.- Parameters:
errorMessage
- the errorMessage value to set.- Returns:
- the AddonStatus object itself.
-
phase
Get the phase property: Phase represents the current phase of cluster actuation. E.g. Pending, Running, Terminating, Failed etc.- Returns:
- the phase value.
-
withPhase
Set the phase property: Phase represents the current phase of cluster actuation. E.g. Pending, Running, Terminating, Failed etc.- Parameters:
phase
- the phase value to set.- Returns:
- the AddonStatus object itself.
-
ready
Get the ready property: The ready property.- Returns:
- the ready value.
-
withReady
Set the ready property: The ready property.- Parameters:
ready
- the ready value to set.- Returns:
- the AddonStatus object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-