Class MaintenanceRedeployStatus
java.lang.Object
com.microsoft.azure.management.compute.MaintenanceRedeployStatus
Maintenance Operation Status.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet true, if customer is allowed to perform Maintenance.Get message returned for the last Maintenance Operation.Get the Last Maintenance Operation Result Code.org.joda.time.DateTime
Get end Time for the Maintenance Window.org.joda.time.DateTime
Get start Time for the Maintenance Window.org.joda.time.DateTime
Get end Time for the Pre Maintenance Window.org.joda.time.DateTime
Get start Time for the Pre Maintenance Window.withIsCustomerInitiatedMaintenanceAllowed
(Boolean isCustomerInitiatedMaintenanceAllowed) Set true, if customer is allowed to perform Maintenance.withLastOperationMessage
(String lastOperationMessage) Set message returned for the last Maintenance Operation.withLastOperationResultCode
(MaintenanceOperationResultCodeTypes lastOperationResultCode) Set the Last Maintenance Operation Result Code.withMaintenanceWindowEndTime
(org.joda.time.DateTime maintenanceWindowEndTime) Set end Time for the Maintenance Window.withMaintenanceWindowStartTime
(org.joda.time.DateTime maintenanceWindowStartTime) Set start Time for the Maintenance Window.withPreMaintenanceWindowEndTime
(org.joda.time.DateTime preMaintenanceWindowEndTime) Set end Time for the Pre Maintenance Window.withPreMaintenanceWindowStartTime
(org.joda.time.DateTime preMaintenanceWindowStartTime) Set start Time for the Pre Maintenance Window.
-
Constructor Details
-
MaintenanceRedeployStatus
public MaintenanceRedeployStatus()
-
-
Method Details
-
isCustomerInitiatedMaintenanceAllowed
Get true, if customer is allowed to perform Maintenance.- Returns:
- the isCustomerInitiatedMaintenanceAllowed value
-
withIsCustomerInitiatedMaintenanceAllowed
public MaintenanceRedeployStatus withIsCustomerInitiatedMaintenanceAllowed(Boolean isCustomerInitiatedMaintenanceAllowed) Set true, if customer is allowed to perform Maintenance.- Parameters:
isCustomerInitiatedMaintenanceAllowed
- the isCustomerInitiatedMaintenanceAllowed value to set- Returns:
- the MaintenanceRedeployStatus object itself.
-
preMaintenanceWindowStartTime
public org.joda.time.DateTime preMaintenanceWindowStartTime()Get start Time for the Pre Maintenance Window.- Returns:
- the preMaintenanceWindowStartTime value
-
withPreMaintenanceWindowStartTime
public MaintenanceRedeployStatus withPreMaintenanceWindowStartTime(org.joda.time.DateTime preMaintenanceWindowStartTime) Set start Time for the Pre Maintenance Window.- Parameters:
preMaintenanceWindowStartTime
- the preMaintenanceWindowStartTime value to set- Returns:
- the MaintenanceRedeployStatus object itself.
-
preMaintenanceWindowEndTime
public org.joda.time.DateTime preMaintenanceWindowEndTime()Get end Time for the Pre Maintenance Window.- Returns:
- the preMaintenanceWindowEndTime value
-
withPreMaintenanceWindowEndTime
public MaintenanceRedeployStatus withPreMaintenanceWindowEndTime(org.joda.time.DateTime preMaintenanceWindowEndTime) Set end Time for the Pre Maintenance Window.- Parameters:
preMaintenanceWindowEndTime
- the preMaintenanceWindowEndTime value to set- Returns:
- the MaintenanceRedeployStatus object itself.
-
maintenanceWindowStartTime
public org.joda.time.DateTime maintenanceWindowStartTime()Get start Time for the Maintenance Window.- Returns:
- the maintenanceWindowStartTime value
-
withMaintenanceWindowStartTime
public MaintenanceRedeployStatus withMaintenanceWindowStartTime(org.joda.time.DateTime maintenanceWindowStartTime) Set start Time for the Maintenance Window.- Parameters:
maintenanceWindowStartTime
- the maintenanceWindowStartTime value to set- Returns:
- the MaintenanceRedeployStatus object itself.
-
maintenanceWindowEndTime
public org.joda.time.DateTime maintenanceWindowEndTime()Get end Time for the Maintenance Window.- Returns:
- the maintenanceWindowEndTime value
-
withMaintenanceWindowEndTime
public MaintenanceRedeployStatus withMaintenanceWindowEndTime(org.joda.time.DateTime maintenanceWindowEndTime) Set end Time for the Maintenance Window.- Parameters:
maintenanceWindowEndTime
- the maintenanceWindowEndTime value to set- Returns:
- the MaintenanceRedeployStatus object itself.
-
lastOperationResultCode
Get the Last Maintenance Operation Result Code. Possible values include: 'None', 'RetryLater', 'MaintenanceAborted', 'MaintenanceCompleted'.- Returns:
- the lastOperationResultCode value
-
withLastOperationResultCode
public MaintenanceRedeployStatus withLastOperationResultCode(MaintenanceOperationResultCodeTypes lastOperationResultCode) Set the Last Maintenance Operation Result Code. Possible values include: 'None', 'RetryLater', 'MaintenanceAborted', 'MaintenanceCompleted'.- Parameters:
lastOperationResultCode
- the lastOperationResultCode value to set- Returns:
- the MaintenanceRedeployStatus object itself.
-
lastOperationMessage
Get message returned for the last Maintenance Operation.- Returns:
- the lastOperationMessage value
-
withLastOperationMessage
Set message returned for the last Maintenance Operation.- Parameters:
lastOperationMessage
- the lastOperationMessage value to set- Returns:
- the MaintenanceRedeployStatus object itself.
-