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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApplyPendingMaintenanceActionRequest.BuilderapplyAction(String applyAction)The pending maintenance action to apply to this resource.ApplyPendingMaintenanceActionRequest.BuilderoptInType(String optInType)A value that specifies the type of opt-in request or undoes an opt-in request.ApplyPendingMaintenanceActionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ApplyPendingMaintenanceActionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ApplyPendingMaintenanceActionRequest.BuilderresourceIdentifier(String resourceIdentifier)The Amazon Resource Name (ARN) of the 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.docdb.model.DocDbRequest.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 Detail
-
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
ApplyPendingMaintenanceActionRequest.Builder applyAction(String 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
ApplyPendingMaintenanceActionRequest.Builder optInType(String optInType)
A value that specifies the type of opt-in request or undoes an opt-in request. An opt-in request of type
immediatecan'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 existingnext-maintenanceopt-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 typeimmediatecan'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 existingnext-maintenanceopt-in requests.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
ApplyPendingMaintenanceActionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ApplyPendingMaintenanceActionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-