java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.AddonStatus

public final class AddonStatus extends Object
Status of the addon.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of AddonStatus class.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    Get the phase property: Phase represents the current phase of cluster actuation.
    Get the ready property: The ready property.
    void
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AddonStatus

      public AddonStatus()
      Creates an instance of AddonStatus class.
  • Method Details

    • errorMessage

      public String 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

      public AddonStatus 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.
      Parameters:
      errorMessage - the errorMessage value to set.
      Returns:
      the AddonStatus object itself.
    • phase

      public String 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

      public AddonStatus withPhase(String phase)
      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

      public Boolean ready()
      Get the ready property: The ready property.
      Returns:
      the ready value.
    • withReady

      public AddonStatus withReady(Boolean ready)
      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.