Interface ApplyPendingMaintenanceActionRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ApplyPendingMaintenanceActionRequest.Builder,ApplyPendingMaintenanceActionRequest>, DocDbRequest.Builder, SdkBuilder<ApplyPendingMaintenanceActionRequest.Builder,ApplyPendingMaintenanceActionRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ApplyPendingMaintenanceActionRequest

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

    • resourceIdentifier

      ApplyPendingMaintenanceActionRequest.Builder resourceIdentifier(String resourceIdentifier)

      The Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to.

      Parameters:
      resourceIdentifier - The Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applyAction

      The pending maintenance action to apply to this resource.

      Valid values: system-update, db-upgrade

      Parameters:
      applyAction - The pending maintenance action to apply to this resource.

      Valid values: system-update, db-upgrade

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • optInType

      A value that specifies the type of opt-in request or undoes an opt-in request. An opt-in request of type immediate can't be undone.

      Valid values:

      • immediate - Apply the maintenance action immediately.

      • next-maintenance - Apply the maintenance action during the next maintenance window for the resource.

      • undo-opt-in - Cancel any existing next-maintenance opt-in requests.

      Parameters:
      optInType - A value that specifies the type of opt-in request or undoes an opt-in request. An opt-in request of type immediate can't be undone.

      Valid values:

      • immediate - Apply the maintenance action immediately.

      • next-maintenance - Apply the maintenance action during the next maintenance window for the resource.

      • undo-opt-in - Cancel any existing next-maintenance opt-in requests.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.