Class MaintenanceRedeployStatus


  • public final class MaintenanceRedeployStatus
    extends Object
    Maintenance Operation Status.
    • Constructor Detail

      • MaintenanceRedeployStatus

        public MaintenanceRedeployStatus()
    • Method Detail

      • isCustomerInitiatedMaintenanceAllowed

        public Boolean isCustomerInitiatedMaintenanceAllowed()
        Get the isCustomerInitiatedMaintenanceAllowed property: True, if customer is allowed to perform Maintenance.
        Returns:
        the isCustomerInitiatedMaintenanceAllowed value.
      • withIsCustomerInitiatedMaintenanceAllowed

        public MaintenanceRedeployStatus withIsCustomerInitiatedMaintenanceAllowed​(Boolean isCustomerInitiatedMaintenanceAllowed)
        Set the isCustomerInitiatedMaintenanceAllowed property: True, if customer is allowed to perform Maintenance.
        Parameters:
        isCustomerInitiatedMaintenanceAllowed - the isCustomerInitiatedMaintenanceAllowed value to set.
        Returns:
        the MaintenanceRedeployStatus object itself.
      • preMaintenanceWindowStartTime

        public OffsetDateTime preMaintenanceWindowStartTime()
        Get the preMaintenanceWindowStartTime property: Start Time for the Pre Maintenance Window.
        Returns:
        the preMaintenanceWindowStartTime value.
      • withPreMaintenanceWindowStartTime

        public MaintenanceRedeployStatus withPreMaintenanceWindowStartTime​(OffsetDateTime preMaintenanceWindowStartTime)
        Set the preMaintenanceWindowStartTime property: Start Time for the Pre Maintenance Window.
        Parameters:
        preMaintenanceWindowStartTime - the preMaintenanceWindowStartTime value to set.
        Returns:
        the MaintenanceRedeployStatus object itself.
      • preMaintenanceWindowEndTime

        public OffsetDateTime preMaintenanceWindowEndTime()
        Get the preMaintenanceWindowEndTime property: End Time for the Pre Maintenance Window.
        Returns:
        the preMaintenanceWindowEndTime value.
      • withPreMaintenanceWindowEndTime

        public MaintenanceRedeployStatus withPreMaintenanceWindowEndTime​(OffsetDateTime preMaintenanceWindowEndTime)
        Set the preMaintenanceWindowEndTime property: End Time for the Pre Maintenance Window.
        Parameters:
        preMaintenanceWindowEndTime - the preMaintenanceWindowEndTime value to set.
        Returns:
        the MaintenanceRedeployStatus object itself.
      • maintenanceWindowStartTime

        public OffsetDateTime maintenanceWindowStartTime()
        Get the maintenanceWindowStartTime property: Start Time for the Maintenance Window.
        Returns:
        the maintenanceWindowStartTime value.
      • withMaintenanceWindowStartTime

        public MaintenanceRedeployStatus withMaintenanceWindowStartTime​(OffsetDateTime maintenanceWindowStartTime)
        Set the maintenanceWindowStartTime property: Start Time for the Maintenance Window.
        Parameters:
        maintenanceWindowStartTime - the maintenanceWindowStartTime value to set.
        Returns:
        the MaintenanceRedeployStatus object itself.
      • maintenanceWindowEndTime

        public OffsetDateTime maintenanceWindowEndTime()
        Get the maintenanceWindowEndTime property: End Time for the Maintenance Window.
        Returns:
        the maintenanceWindowEndTime value.
      • withMaintenanceWindowEndTime

        public MaintenanceRedeployStatus withMaintenanceWindowEndTime​(OffsetDateTime maintenanceWindowEndTime)
        Set the maintenanceWindowEndTime property: End Time for the Maintenance Window.
        Parameters:
        maintenanceWindowEndTime - the maintenanceWindowEndTime value to set.
        Returns:
        the MaintenanceRedeployStatus object itself.
      • lastOperationResultCode

        public MaintenanceOperationResultCodeTypes lastOperationResultCode()
        Get the lastOperationResultCode property: The Last Maintenance Operation Result Code.
        Returns:
        the lastOperationResultCode value.
      • withLastOperationResultCode

        public MaintenanceRedeployStatus withLastOperationResultCode​(MaintenanceOperationResultCodeTypes lastOperationResultCode)
        Set the lastOperationResultCode property: The Last Maintenance Operation Result Code.
        Parameters:
        lastOperationResultCode - the lastOperationResultCode value to set.
        Returns:
        the MaintenanceRedeployStatus object itself.
      • lastOperationMessage

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

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

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.