Class UpdateInner
java.lang.Object
com.azure.resourcemanager.maintenance.fluent.models.UpdateInner
Maintenance update on a resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the impactDurationInSec property: Duration of impact in seconds.Get the impactType property: The impact type.Get the maintenanceScope property: The impact area.Get the notBefore property: Time when Azure will start force updates if not self-updated by customer before this time.Get the resourceId property: The resourceId.status()
Get the status property: The status.void
validate()
Validates the instance.withImpactDurationInSec
(Integer impactDurationInSec) Set the impactDurationInSec property: Duration of impact in seconds.withImpactType
(ImpactType impactType) Set the impactType property: The impact type.withMaintenanceScope
(MaintenanceScope maintenanceScope) Set the maintenanceScope property: The impact area.withNotBefore
(OffsetDateTime notBefore) Set the notBefore property: Time when Azure will start force updates if not self-updated by customer before this time.withResourceId
(String resourceId) Set the resourceId property: The resourceId.withStatus
(UpdateStatus status) Set the status property: The status.
-
Constructor Details
-
UpdateInner
public UpdateInner()Creates an instance of UpdateInner class.
-
-
Method Details
-
maintenanceScope
Get the maintenanceScope property: The impact area.- Returns:
- the maintenanceScope value.
-
withMaintenanceScope
Set the maintenanceScope property: The impact area.- Parameters:
maintenanceScope
- the maintenanceScope value to set.- Returns:
- the UpdateInner object itself.
-
impactType
Get the impactType property: The impact type.- Returns:
- the impactType value.
-
withImpactType
Set the impactType property: The impact type.- Parameters:
impactType
- the impactType value to set.- Returns:
- the UpdateInner object itself.
-
status
Get the status property: The status.- Returns:
- the status value.
-
withStatus
Set the status property: The status.- Parameters:
status
- the status value to set.- Returns:
- the UpdateInner object itself.
-
impactDurationInSec
Get the impactDurationInSec property: Duration of impact in seconds.- Returns:
- the impactDurationInSec value.
-
withImpactDurationInSec
Set the impactDurationInSec property: Duration of impact in seconds.- Parameters:
impactDurationInSec
- the impactDurationInSec value to set.- Returns:
- the UpdateInner object itself.
-
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
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
Get the resourceId property: The resourceId.- Returns:
- the resourceId value.
-
withResourceId
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.
-