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

public final class UpdateInner extends Object
Maintenance update on a resource.
  • Constructor Details

    • UpdateInner

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

    • maintenanceScope

      public MaintenanceScope maintenanceScope()
      Get the maintenanceScope property: The impact area.
      Returns:
      the maintenanceScope value.
    • withMaintenanceScope

      public UpdateInner withMaintenanceScope(MaintenanceScope maintenanceScope)
      Set the maintenanceScope property: The impact area.
      Parameters:
      maintenanceScope - the maintenanceScope value to set.
      Returns:
      the UpdateInner object itself.
    • impactType

      public ImpactType impactType()
      Get the impactType property: The impact type.
      Returns:
      the impactType value.
    • withImpactType

      public UpdateInner withImpactType(ImpactType impactType)
      Set the impactType property: The impact type.
      Parameters:
      impactType - the impactType value to set.
      Returns:
      the UpdateInner object itself.
    • status

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

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

      public Integer impactDurationInSec()
      Get the impactDurationInSec property: Duration of impact in seconds.
      Returns:
      the impactDurationInSec value.
    • withImpactDurationInSec

      public UpdateInner withImpactDurationInSec(Integer impactDurationInSec)
      Set the impactDurationInSec property: Duration of impact in seconds.
      Parameters:
      impactDurationInSec - the impactDurationInSec value to set.
      Returns:
      the UpdateInner object itself.
    • notBefore

      public OffsetDateTime notBefore()
      Get the notBefore property: Time when Azure will start force updates if not self-updated by customer before this time.
      Returns:
      the notBefore value.
    • withNotBefore

      public UpdateInner withNotBefore(OffsetDateTime notBefore)
      Set the notBefore property: Time when Azure will start force updates if not self-updated by customer before this time.
      Parameters:
      notBefore - the notBefore value to set.
      Returns:
      the UpdateInner object itself.
    • resourceId

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

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

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