Class ApplyUpdateProperties

java.lang.Object
com.azure.resourcemanager.maintenance.fluent.models.ApplyUpdateProperties

public final class ApplyUpdateProperties extends Object
Properties for apply update.
  • Constructor Details

    • ApplyUpdateProperties

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

    • status

      public UpdateStatus status()
      Get the status property: The status.
      Returns:
      the status value.
    • withStatus

      public ApplyUpdateProperties withStatus(UpdateStatus status)
      Set the status property: The status.
      Parameters:
      status - the status value to set.
      Returns:
      the ApplyUpdateProperties object itself.
    • resourceId

      public String resourceId()
      Get the resourceId property: The resourceId.
      Returns:
      the resourceId value.
    • withResourceId

      public ApplyUpdateProperties withResourceId(String resourceId)
      Set the resourceId property: The resourceId.
      Parameters:
      resourceId - the resourceId value to set.
      Returns:
      the ApplyUpdateProperties object itself.
    • lastUpdateTime

      public OffsetDateTime lastUpdateTime()
      Get the lastUpdateTime property: Last Update time.
      Returns:
      the lastUpdateTime value.
    • withLastUpdateTime

      public ApplyUpdateProperties withLastUpdateTime(OffsetDateTime lastUpdateTime)
      Set the lastUpdateTime property: Last Update time.
      Parameters:
      lastUpdateTime - the lastUpdateTime value to set.
      Returns:
      the ApplyUpdateProperties object itself.
    • validate

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