Class MaintenanceRedeployStatus

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

public class MaintenanceRedeployStatus extends Object
Maintenance Operation Status.
  • Constructor Details

    • MaintenanceRedeployStatus

      public MaintenanceRedeployStatus()
  • Method Details

    • isCustomerInitiatedMaintenanceAllowed

      public Boolean 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

      public MaintenanceOperationResultCodeTypes 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

      public String lastOperationMessage()
      Get message returned for the last Maintenance Operation.
      Returns:
      the lastOperationMessage value
    • withLastOperationMessage

      public MaintenanceRedeployStatus withLastOperationMessage(String lastOperationMessage)
      Set message returned for the last Maintenance Operation.
      Parameters:
      lastOperationMessage - the lastOperationMessage value to set
      Returns:
      the MaintenanceRedeployStatus object itself.