Class MaintenanceRedeployStatus
java.lang.Object
com.azure.resourcemanager.compute.models.MaintenanceRedeployStatus
Maintenance Operation Status.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the isCustomerInitiatedMaintenanceAllowed property: True, if customer is allowed to perform Maintenance.Get the lastOperationMessage property: Message returned for the last Maintenance Operation.Get the lastOperationResultCode property: The Last Maintenance Operation Result Code.Get the maintenanceWindowEndTime property: End Time for the Maintenance Window.Get the maintenanceWindowStartTime property: Start Time for the Maintenance Window.Get the preMaintenanceWindowEndTime property: End Time for the Pre Maintenance Window.Get the preMaintenanceWindowStartTime property: Start Time for the Pre Maintenance Window.voidvalidate()Validates the instance.withIsCustomerInitiatedMaintenanceAllowed(Boolean isCustomerInitiatedMaintenanceAllowed) Set the isCustomerInitiatedMaintenanceAllowed property: True, if customer is allowed to perform Maintenance.withLastOperationMessage(String lastOperationMessage) Set the lastOperationMessage property: Message returned for the last Maintenance Operation.withLastOperationResultCode(MaintenanceOperationResultCodeTypes lastOperationResultCode) Set the lastOperationResultCode property: The Last Maintenance Operation Result Code.withMaintenanceWindowEndTime(OffsetDateTime maintenanceWindowEndTime) Set the maintenanceWindowEndTime property: End Time for the Maintenance Window.withMaintenanceWindowStartTime(OffsetDateTime maintenanceWindowStartTime) Set the maintenanceWindowStartTime property: Start Time for the Maintenance Window.withPreMaintenanceWindowEndTime(OffsetDateTime preMaintenanceWindowEndTime) Set the preMaintenanceWindowEndTime property: End Time for the Pre Maintenance Window.withPreMaintenanceWindowStartTime(OffsetDateTime preMaintenanceWindowStartTime) Set the preMaintenanceWindowStartTime property: Start Time for the Pre Maintenance Window.
-
Constructor Details
-
MaintenanceRedeployStatus
public MaintenanceRedeployStatus()
-
-
Method Details
-
isCustomerInitiatedMaintenanceAllowed
Get the isCustomerInitiatedMaintenanceAllowed property: True, if customer is allowed to perform Maintenance.- Returns:
- the isCustomerInitiatedMaintenanceAllowed value.
-
withIsCustomerInitiatedMaintenanceAllowed
public MaintenanceRedeployStatus withIsCustomerInitiatedMaintenanceAllowed(Boolean isCustomerInitiatedMaintenanceAllowed) Set the isCustomerInitiatedMaintenanceAllowed property: True, if customer is allowed to perform Maintenance.- Parameters:
isCustomerInitiatedMaintenanceAllowed- the isCustomerInitiatedMaintenanceAllowed value to set.- Returns:
- the MaintenanceRedeployStatus object itself.
-
preMaintenanceWindowStartTime
Get the preMaintenanceWindowStartTime property: Start Time for the Pre Maintenance Window.- Returns:
- the preMaintenanceWindowStartTime value.
-
withPreMaintenanceWindowStartTime
public MaintenanceRedeployStatus withPreMaintenanceWindowStartTime(OffsetDateTime preMaintenanceWindowStartTime) Set the preMaintenanceWindowStartTime property: Start Time for the Pre Maintenance Window.- Parameters:
preMaintenanceWindowStartTime- the preMaintenanceWindowStartTime value to set.- Returns:
- the MaintenanceRedeployStatus object itself.
-
preMaintenanceWindowEndTime
Get the preMaintenanceWindowEndTime property: End Time for the Pre Maintenance Window.- Returns:
- the preMaintenanceWindowEndTime value.
-
withPreMaintenanceWindowEndTime
public MaintenanceRedeployStatus withPreMaintenanceWindowEndTime(OffsetDateTime preMaintenanceWindowEndTime) Set the preMaintenanceWindowEndTime property: End Time for the Pre Maintenance Window.- Parameters:
preMaintenanceWindowEndTime- the preMaintenanceWindowEndTime value to set.- Returns:
- the MaintenanceRedeployStatus object itself.
-
maintenanceWindowStartTime
Get the maintenanceWindowStartTime property: Start Time for the Maintenance Window.- Returns:
- the maintenanceWindowStartTime value.
-
withMaintenanceWindowStartTime
public MaintenanceRedeployStatus withMaintenanceWindowStartTime(OffsetDateTime maintenanceWindowStartTime) Set the maintenanceWindowStartTime property: Start Time for the Maintenance Window.- Parameters:
maintenanceWindowStartTime- the maintenanceWindowStartTime value to set.- Returns:
- the MaintenanceRedeployStatus object itself.
-
maintenanceWindowEndTime
Get the maintenanceWindowEndTime property: End Time for the Maintenance Window.- Returns:
- the maintenanceWindowEndTime value.
-
withMaintenanceWindowEndTime
public MaintenanceRedeployStatus withMaintenanceWindowEndTime(OffsetDateTime maintenanceWindowEndTime) Set the maintenanceWindowEndTime property: End Time for the Maintenance Window.- Parameters:
maintenanceWindowEndTime- the maintenanceWindowEndTime value to set.- Returns:
- the MaintenanceRedeployStatus object itself.
-
lastOperationResultCode
Get the lastOperationResultCode property: The Last Maintenance Operation Result Code.- Returns:
- the lastOperationResultCode value.
-
withLastOperationResultCode
public MaintenanceRedeployStatus withLastOperationResultCode(MaintenanceOperationResultCodeTypes lastOperationResultCode) Set the lastOperationResultCode property: The Last Maintenance Operation Result Code.- Parameters:
lastOperationResultCode- the lastOperationResultCode value to set.- Returns:
- the MaintenanceRedeployStatus object itself.
-
lastOperationMessage
Get the lastOperationMessage property: Message returned for the last Maintenance Operation.- Returns:
- the lastOperationMessage value.
-
withLastOperationMessage
Set the lastOperationMessage property: Message returned for the last Maintenance Operation.- Parameters:
lastOperationMessage- the lastOperationMessage value to set.- Returns:
- the MaintenanceRedeployStatus object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-