Interface UpdateSnapshotCopyConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateSnapshotCopyConfigurationRequest.Builder,
,UpdateSnapshotCopyConfigurationRequest> RedshiftServerlessRequest.Builder
,SdkBuilder<UpdateSnapshotCopyConfigurationRequest.Builder,
,UpdateSnapshotCopyConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateSnapshotCopyConfigurationRequest
@Mutable
@NotThreadSafe
public static interface UpdateSnapshotCopyConfigurationRequest.Builder
extends RedshiftServerlessRequest.Builder, SdkPojo, CopyableBuilder<UpdateSnapshotCopyConfigurationRequest.Builder,UpdateSnapshotCopyConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.snapshotCopyConfigurationId
(String snapshotCopyConfigurationId) The ID of the snapshot copy configuration to update.snapshotRetentionPeriod
(Integer snapshotRetentionPeriod) The new retention period of how long to keep a snapshot in the destination Amazon Web Services Region.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.redshiftserverless.model.RedshiftServerlessRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
snapshotCopyConfigurationId
UpdateSnapshotCopyConfigurationRequest.Builder snapshotCopyConfigurationId(String snapshotCopyConfigurationId) The ID of the snapshot copy configuration to update.
- Parameters:
snapshotCopyConfigurationId
- The ID of the snapshot copy configuration to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotRetentionPeriod
UpdateSnapshotCopyConfigurationRequest.Builder snapshotRetentionPeriod(Integer snapshotRetentionPeriod) The new retention period of how long to keep a snapshot in the destination Amazon Web Services Region.
- Parameters:
snapshotRetentionPeriod
- The new retention period of how long to keep a snapshot in the destination Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateSnapshotCopyConfigurationRequest.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
UpdateSnapshotCopyConfigurationRequest.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.
-