Interface PendingMaintenanceAction.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PendingMaintenanceAction.Builder,PendingMaintenanceAction>, SdkBuilder<PendingMaintenanceAction.Builder,PendingMaintenanceAction>, SdkPojo
Enclosing class:
PendingMaintenanceAction

public static interface PendingMaintenanceAction.Builder extends SdkPojo, CopyableBuilder<PendingMaintenanceAction.Builder,PendingMaintenanceAction>
  • Method Details

    • action

      The type of pending maintenance action that is available for the resource.

      Parameters:
      action - The type of pending maintenance action that is available for the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoAppliedAfterDate

      PendingMaintenanceAction.Builder autoAppliedAfterDate(Instant autoAppliedAfterDate)

      The date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date. If this date is specified, any next-maintenance opt-in requests are ignored.

      Parameters:
      autoAppliedAfterDate - The date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date. If this date is specified, any next-maintenance opt-in requests are ignored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • forcedApplyDate

      PendingMaintenanceAction.Builder forcedApplyDate(Instant forcedApplyDate)

      The date when the maintenance action is automatically applied. The maintenance action is applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any immediate opt-in requests are ignored.

      Parameters:
      forcedApplyDate - The date when the maintenance action is automatically applied. The maintenance action is applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any immediate opt-in requests are ignored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • optInStatus

      PendingMaintenanceAction.Builder optInStatus(String optInStatus)

      Indicates the type of opt-in request that has been received for the resource.

      Parameters:
      optInStatus - Indicates the type of opt-in request that has been received for the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currentApplyDate

      PendingMaintenanceAction.Builder currentApplyDate(Instant currentApplyDate)

      The effective date when the pending maintenance action is applied to the resource. This date takes into account opt-in requests received from the ApplyPendingMaintenanceAction API, the AutoAppliedAfterDate, and the ForcedApplyDate. This value is blank if an opt-in request has not been received and nothing has been specified as AutoAppliedAfterDate or ForcedApplyDate.

      Parameters:
      currentApplyDate - The effective date when the pending maintenance action is applied to the resource. This date takes into account opt-in requests received from the ApplyPendingMaintenanceAction API, the AutoAppliedAfterDate, and the ForcedApplyDate. This value is blank if an opt-in request has not been received and nothing has been specified as AutoAppliedAfterDate or ForcedApplyDate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      PendingMaintenanceAction.Builder description(String description)

      A description providing more detail about the maintenance action.

      Parameters:
      description - A description providing more detail about the maintenance action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.