MaintenanceRedeployStatus Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. MaintenanceRedeployStatus
- com.
Implements
public final class MaintenanceRedeployStatus
implements JsonSerializable<MaintenanceRedeployStatus>
Maintenance Operation Status.
Constructor Summary
Constructor | Description |
---|---|
MaintenanceRedeployStatus() |
Creates an instance of Maintenance |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Maintenance |
fromJson(JsonReader jsonReader)
Reads an instance of Maintenance |
Boolean |
isCustomerInitiatedMaintenanceAllowed()
Get the is |
String |
lastOperationMessage()
Get the last |
Maintenance |
lastOperationResultCode()
Get the last |
Offset |
maintenanceWindowEndTime()
Get the maintenance |
Offset |
maintenanceWindowStartTime()
Get the maintenance |
Offset |
preMaintenanceWindowEndTime()
Get the pre |
Offset |
preMaintenanceWindowStartTime()
Get the pre |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Maintenance |
withIsCustomerInitiatedMaintenanceAllowed(Boolean isCustomerInitiatedMaintenanceAllowed)
Set the is |
Maintenance |
withLastOperationMessage(String lastOperationMessage)
Set the last |
Maintenance |
withLastOperationResultCode(MaintenanceOperationResultCodeTypes lastOperationResultCode)
Set the last |
Maintenance |
withMaintenanceWindowEndTime(OffsetDateTime maintenanceWindowEndTime)
Set the maintenance |
Maintenance |
withMaintenanceWindowStartTime(OffsetDateTime maintenanceWindowStartTime)
Set the maintenance |
Maintenance |
withPreMaintenanceWindowEndTime(OffsetDateTime preMaintenanceWindowEndTime)
Set the pre |
Maintenance |
withPreMaintenanceWindowStartTime(OffsetDateTime preMaintenanceWindowStartTime)
Set the pre |
Methods inherited from java.lang.Object
Constructor Details
MaintenanceRedeployStatus
public MaintenanceRedeployStatus()
Creates an instance of MaintenanceRedeployStatus class.
Method Details
fromJson
public static MaintenanceRedeployStatus fromJson(JsonReader jsonReader)
Reads an instance of MaintenanceRedeployStatus from the JsonReader.
Parameters:
Returns:
Throws:
isCustomerInitiatedMaintenanceAllowed
public Boolean isCustomerInitiatedMaintenanceAllowed()
Get the isCustomerInitiatedMaintenanceAllowed property: True, if customer is allowed to perform Maintenance.
Returns:
lastOperationMessage
public String lastOperationMessage()
Get the lastOperationMessage property: Message returned for the last Maintenance Operation.
Returns:
lastOperationResultCode
public MaintenanceOperationResultCodeTypes lastOperationResultCode()
Get the lastOperationResultCode property: The Last Maintenance Operation Result Code.
Returns:
maintenanceWindowEndTime
public OffsetDateTime maintenanceWindowEndTime()
Get the maintenanceWindowEndTime property: End Time for the Maintenance Window.
Returns:
maintenanceWindowStartTime
public OffsetDateTime maintenanceWindowStartTime()
Get the maintenanceWindowStartTime property: Start Time for the Maintenance Window.
Returns:
preMaintenanceWindowEndTime
public OffsetDateTime preMaintenanceWindowEndTime()
Get the preMaintenanceWindowEndTime property: End Time for the Pre Maintenance Window.
Returns:
preMaintenanceWindowStartTime
public OffsetDateTime preMaintenanceWindowStartTime()
Get the preMaintenanceWindowStartTime property: Start Time for the Pre Maintenance Window.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIsCustomerInitiatedMaintenanceAllowed
public MaintenanceRedeployStatus withIsCustomerInitiatedMaintenanceAllowed(Boolean isCustomerInitiatedMaintenanceAllowed)
Set the isCustomerInitiatedMaintenanceAllowed property: True, if customer is allowed to perform Maintenance.
Parameters:
Returns:
withLastOperationMessage
public MaintenanceRedeployStatus withLastOperationMessage(String lastOperationMessage)
Set the lastOperationMessage property: Message returned for the last Maintenance Operation.
Parameters:
Returns:
withLastOperationResultCode
public MaintenanceRedeployStatus withLastOperationResultCode(MaintenanceOperationResultCodeTypes lastOperationResultCode)
Set the lastOperationResultCode property: The Last Maintenance Operation Result Code.
Parameters:
Returns:
withMaintenanceWindowEndTime
public MaintenanceRedeployStatus withMaintenanceWindowEndTime(OffsetDateTime maintenanceWindowEndTime)
Set the maintenanceWindowEndTime property: End Time for the Maintenance Window.
Parameters:
Returns:
withMaintenanceWindowStartTime
public MaintenanceRedeployStatus withMaintenanceWindowStartTime(OffsetDateTime maintenanceWindowStartTime)
Set the maintenanceWindowStartTime property: Start Time for the Maintenance Window.
Parameters:
Returns:
withPreMaintenanceWindowEndTime
public MaintenanceRedeployStatus withPreMaintenanceWindowEndTime(OffsetDateTime preMaintenanceWindowEndTime)
Set the preMaintenanceWindowEndTime property: End Time for the Pre Maintenance Window.
Parameters:
Returns:
withPreMaintenanceWindowStartTime
public MaintenanceRedeployStatus withPreMaintenanceWindowStartTime(OffsetDateTime preMaintenanceWindowStartTime)
Set the preMaintenanceWindowStartTime property: Start Time for the Pre Maintenance Window.
Parameters:
Returns:
Applies to
Azure SDK for Java