MaintenanceRedeployStatus Class

  • java.lang.Object
    • com.microsoft.azure.management.compute.MaintenanceRedeployStatus

public class MaintenanceRedeployStatus

Maintenance Operation Status.

Method Summary

Modifier and Type Method and Description
Boolean isCustomerInitiatedMaintenanceAllowed()

Get the isCustomerInitiatedMaintenanceAllowed value.

String lastOperationMessage()

Get the lastOperationMessage value.

MaintenanceOperationResultCodeTypes lastOperationResultCode()

Get the lastOperationResultCode value.

DateTime maintenanceWindowEndTime()

Get the maintenanceWindowEndTime value.

DateTime maintenanceWindowStartTime()

Get the maintenanceWindowStartTime value.

DateTime preMaintenanceWindowEndTime()

Get the preMaintenanceWindowEndTime value.

DateTime preMaintenanceWindowStartTime()

Get the preMaintenanceWindowStartTime value.

MaintenanceRedeployStatus withIsCustomerInitiatedMaintenanceAllowed(Boolean isCustomerInitiatedMaintenanceAllowed)

Set the isCustomerInitiatedMaintenanceAllowed value.

MaintenanceRedeployStatus withLastOperationMessage(String lastOperationMessage)

Set the lastOperationMessage value.

MaintenanceRedeployStatus withLastOperationResultCode(MaintenanceOperationResultCodeTypes lastOperationResultCode)

Set the lastOperationResultCode value.

MaintenanceRedeployStatus withMaintenanceWindowEndTime(DateTime maintenanceWindowEndTime)

Set the maintenanceWindowEndTime value.

MaintenanceRedeployStatus withMaintenanceWindowStartTime(DateTime maintenanceWindowStartTime)

Set the maintenanceWindowStartTime value.

MaintenanceRedeployStatus withPreMaintenanceWindowEndTime(DateTime preMaintenanceWindowEndTime)

Set the preMaintenanceWindowEndTime value.

MaintenanceRedeployStatus withPreMaintenanceWindowStartTime(DateTime preMaintenanceWindowStartTime)

Set the preMaintenanceWindowStartTime value.

Method Details

isCustomerInitiatedMaintenanceAllowed

public Boolean isCustomerInitiatedMaintenanceAllowed()

Get the isCustomerInitiatedMaintenanceAllowed value.

Returns:

the isCustomerInitiatedMaintenanceAllowed value

lastOperationMessage

public String lastOperationMessage()

Get the lastOperationMessage value.

Returns:

the lastOperationMessage value

lastOperationResultCode

public MaintenanceOperationResultCodeTypes lastOperationResultCode()

Get the lastOperationResultCode value.

Returns:

the lastOperationResultCode value

maintenanceWindowEndTime

public DateTime maintenanceWindowEndTime()

Get the maintenanceWindowEndTime value.

Returns:

the maintenanceWindowEndTime value

maintenanceWindowStartTime

public DateTime maintenanceWindowStartTime()

Get the maintenanceWindowStartTime value.

Returns:

the maintenanceWindowStartTime value

preMaintenanceWindowEndTime

public DateTime preMaintenanceWindowEndTime()

Get the preMaintenanceWindowEndTime value.

Returns:

the preMaintenanceWindowEndTime value

preMaintenanceWindowStartTime

public DateTime preMaintenanceWindowStartTime()

Get the preMaintenanceWindowStartTime value.

Returns:

the preMaintenanceWindowStartTime value

withIsCustomerInitiatedMaintenanceAllowed

public MaintenanceRedeployStatus withIsCustomerInitiatedMaintenanceAllowed(Boolean isCustomerInitiatedMaintenanceAllowed)

Set the isCustomerInitiatedMaintenanceAllowed value.

Parameters:

isCustomerInitiatedMaintenanceAllowed - the isCustomerInitiatedMaintenanceAllowed value to set

Returns:

the MaintenanceRedeployStatus object itself.

withLastOperationMessage

public MaintenanceRedeployStatus withLastOperationMessage(String lastOperationMessage)

Set the lastOperationMessage value.

Parameters:

lastOperationMessage - the lastOperationMessage value to set

Returns:

the MaintenanceRedeployStatus object itself.

withLastOperationResultCode

public MaintenanceRedeployStatus withLastOperationResultCode(MaintenanceOperationResultCodeTypes lastOperationResultCode)

Set the lastOperationResultCode value.

Parameters:

lastOperationResultCode - the lastOperationResultCode value to set

Returns:

the MaintenanceRedeployStatus object itself.

withMaintenanceWindowEndTime

public MaintenanceRedeployStatus withMaintenanceWindowEndTime(DateTime maintenanceWindowEndTime)

Set the maintenanceWindowEndTime value.

Parameters:

maintenanceWindowEndTime - the maintenanceWindowEndTime value to set

Returns:

the MaintenanceRedeployStatus object itself.

withMaintenanceWindowStartTime

public MaintenanceRedeployStatus withMaintenanceWindowStartTime(DateTime maintenanceWindowStartTime)

Set the maintenanceWindowStartTime value.

Parameters:

maintenanceWindowStartTime - the maintenanceWindowStartTime value to set

Returns:

the MaintenanceRedeployStatus object itself.

withPreMaintenanceWindowEndTime

public MaintenanceRedeployStatus withPreMaintenanceWindowEndTime(DateTime preMaintenanceWindowEndTime)

Set the preMaintenanceWindowEndTime value.

Parameters:

preMaintenanceWindowEndTime - the preMaintenanceWindowEndTime value to set

Returns:

the MaintenanceRedeployStatus object itself.

withPreMaintenanceWindowStartTime

public MaintenanceRedeployStatus withPreMaintenanceWindowStartTime(DateTime preMaintenanceWindowStartTime)

Set the preMaintenanceWindowStartTime value.

Parameters:

preMaintenanceWindowStartTime - the preMaintenanceWindowStartTime value to set

Returns:

the MaintenanceRedeployStatus object itself.

Applies to