public final class MaintenanceRedeployStatus extends Object
Constructor and Description |
---|
MaintenanceRedeployStatus() |
Modifier and Type | Method and Description |
---|---|
Boolean |
isCustomerInitiatedMaintenanceAllowed()
Get the isCustomerInitiatedMaintenanceAllowed property: True, if customer is allowed to perform Maintenance.
|
String |
lastOperationMessage()
Get the lastOperationMessage property: Message returned for the last Maintenance Operation.
|
MaintenanceOperationResultCodeTypes |
lastOperationResultCode()
Get the lastOperationResultCode property: The Last Maintenance Operation Result Code.
|
OffsetDateTime |
maintenanceWindowEndTime()
Get the maintenanceWindowEndTime property: End Time for the Maintenance Window.
|
OffsetDateTime |
maintenanceWindowStartTime()
Get the maintenanceWindowStartTime property: Start Time for the Maintenance Window.
|
OffsetDateTime |
preMaintenanceWindowEndTime()
Get the preMaintenanceWindowEndTime property: End Time for the Pre Maintenance Window.
|
OffsetDateTime |
preMaintenanceWindowStartTime()
Get the preMaintenanceWindowStartTime property: Start Time for the Pre Maintenance Window.
|
void |
validate()
Validates the instance.
|
MaintenanceRedeployStatus |
withIsCustomerInitiatedMaintenanceAllowed(Boolean isCustomerInitiatedMaintenanceAllowed)
Set the isCustomerInitiatedMaintenanceAllowed property: True, if customer is allowed to perform Maintenance.
|
MaintenanceRedeployStatus |
withLastOperationMessage(String lastOperationMessage)
Set the lastOperationMessage property: Message returned for the last Maintenance Operation.
|
MaintenanceRedeployStatus |
withLastOperationResultCode(MaintenanceOperationResultCodeTypes lastOperationResultCode)
Set the lastOperationResultCode property: The Last Maintenance Operation Result Code.
|
MaintenanceRedeployStatus |
withMaintenanceWindowEndTime(OffsetDateTime maintenanceWindowEndTime)
Set the maintenanceWindowEndTime property: End Time for the Maintenance Window.
|
MaintenanceRedeployStatus |
withMaintenanceWindowStartTime(OffsetDateTime maintenanceWindowStartTime)
Set the maintenanceWindowStartTime property: Start Time for the Maintenance Window.
|
MaintenanceRedeployStatus |
withPreMaintenanceWindowEndTime(OffsetDateTime preMaintenanceWindowEndTime)
Set the preMaintenanceWindowEndTime property: End Time for the Pre Maintenance Window.
|
MaintenanceRedeployStatus |
withPreMaintenanceWindowStartTime(OffsetDateTime preMaintenanceWindowStartTime)
Set the preMaintenanceWindowStartTime property: Start Time for the Pre Maintenance Window.
|
public Boolean isCustomerInitiatedMaintenanceAllowed()
public MaintenanceRedeployStatus withIsCustomerInitiatedMaintenanceAllowed(Boolean isCustomerInitiatedMaintenanceAllowed)
isCustomerInitiatedMaintenanceAllowed
- the isCustomerInitiatedMaintenanceAllowed value to set.public OffsetDateTime preMaintenanceWindowStartTime()
public MaintenanceRedeployStatus withPreMaintenanceWindowStartTime(OffsetDateTime preMaintenanceWindowStartTime)
preMaintenanceWindowStartTime
- the preMaintenanceWindowStartTime value to set.public OffsetDateTime preMaintenanceWindowEndTime()
public MaintenanceRedeployStatus withPreMaintenanceWindowEndTime(OffsetDateTime preMaintenanceWindowEndTime)
preMaintenanceWindowEndTime
- the preMaintenanceWindowEndTime value to set.public OffsetDateTime maintenanceWindowStartTime()
public MaintenanceRedeployStatus withMaintenanceWindowStartTime(OffsetDateTime maintenanceWindowStartTime)
maintenanceWindowStartTime
- the maintenanceWindowStartTime value to set.public OffsetDateTime maintenanceWindowEndTime()
public MaintenanceRedeployStatus withMaintenanceWindowEndTime(OffsetDateTime maintenanceWindowEndTime)
maintenanceWindowEndTime
- the maintenanceWindowEndTime value to set.public MaintenanceOperationResultCodeTypes lastOperationResultCode()
public MaintenanceRedeployStatus withLastOperationResultCode(MaintenanceOperationResultCodeTypes lastOperationResultCode)
lastOperationResultCode
- the lastOperationResultCode value to set.public String lastOperationMessage()
public MaintenanceRedeployStatus withLastOperationMessage(String lastOperationMessage)
lastOperationMessage
- the lastOperationMessage value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.