Interface UpdateSnapshotCopyConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateSnapshotCopyConfigurationResponse.Builder,,UpdateSnapshotCopyConfigurationResponse> RedshiftServerlessResponse.Builder,SdkBuilder<UpdateSnapshotCopyConfigurationResponse.Builder,,UpdateSnapshotCopyConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateSnapshotCopyConfigurationResponse
@Mutable
@NotThreadSafe
public static interface UpdateSnapshotCopyConfigurationResponse.Builder
extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<UpdateSnapshotCopyConfigurationResponse.Builder,UpdateSnapshotCopyConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsnapshotCopyConfiguration(Consumer<SnapshotCopyConfiguration.Builder> snapshotCopyConfiguration) The updated snapshot copy configuration object.snapshotCopyConfiguration(SnapshotCopyConfiguration snapshotCopyConfiguration) The updated snapshot copy configuration object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
snapshotCopyConfiguration
UpdateSnapshotCopyConfigurationResponse.Builder snapshotCopyConfiguration(SnapshotCopyConfiguration snapshotCopyConfiguration) The updated snapshot copy configuration object.
- Parameters:
snapshotCopyConfiguration- The updated snapshot copy configuration object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotCopyConfiguration
default UpdateSnapshotCopyConfigurationResponse.Builder snapshotCopyConfiguration(Consumer<SnapshotCopyConfiguration.Builder> snapshotCopyConfiguration) The updated snapshot copy configuration object.
This is a convenience method that creates an instance of theSnapshotCopyConfiguration.Builderavoiding the need to create one manually viaSnapshotCopyConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosnapshotCopyConfiguration(SnapshotCopyConfiguration).- Parameters:
snapshotCopyConfiguration- a consumer that will call methods onSnapshotCopyConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-