Interface ApplyPendingMaintenanceActionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ApplyPendingMaintenanceActionRequest.Builder,
,ApplyPendingMaintenanceActionRequest> DatabaseMigrationRequest.Builder
,SdkBuilder<ApplyPendingMaintenanceActionRequest.Builder,
,ApplyPendingMaintenanceActionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ApplyPendingMaintenanceActionRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplyAction
(String applyAction) The pending maintenance action to apply to this resource.A value that specifies the type of opt-in request, or undoes an opt-in request.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.replicationInstanceArn
(String replicationInstanceArn) The Amazon Resource Name (ARN) of the DMS resource that the pending maintenance action applies to.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
replicationInstanceArn
The Amazon Resource Name (ARN) of the DMS resource that the pending maintenance action applies to.
- Parameters:
replicationInstanceArn
- The Amazon Resource Name (ARN) of the DMS 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:
os-upgrade
,system-update
,db-upgrade
- Parameters:
applyAction
- The pending maintenance action to apply to this resource.Valid values:
os-upgrade
,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. You can't undo an opt-in request of type
immediate
.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 existingnext-maintenance
opt-in requests.
- Parameters:
optInType
- A value that specifies the type of opt-in request, or undoes an opt-in request. You can't undo an opt-in request of typeimmediate
.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 existingnext-maintenance
opt-in requests.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
ApplyPendingMaintenanceActionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ApplyPendingMaintenanceActionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-