Interface CreateSnapshotCopyConfigurationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateSnapshotCopyConfigurationResponse.Builder,CreateSnapshotCopyConfigurationResponse>,RedshiftServerlessResponse.Builder,SdkBuilder<CreateSnapshotCopyConfigurationResponse.Builder,CreateSnapshotCopyConfigurationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateSnapshotCopyConfigurationResponse
public static interface CreateSnapshotCopyConfigurationResponse.Builder extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<CreateSnapshotCopyConfigurationResponse.Builder,CreateSnapshotCopyConfigurationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateSnapshotCopyConfigurationResponse.BuildersnapshotCopyConfiguration(Consumer<SnapshotCopyConfiguration.Builder> snapshotCopyConfiguration)The snapshot copy configuration object that is returned.CreateSnapshotCopyConfigurationResponse.BuildersnapshotCopyConfiguration(SnapshotCopyConfiguration snapshotCopyConfiguration)The snapshot copy configuration object that is returned.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
snapshotCopyConfiguration
CreateSnapshotCopyConfigurationResponse.Builder snapshotCopyConfiguration(SnapshotCopyConfiguration snapshotCopyConfiguration)
The snapshot copy configuration object that is returned.
- Parameters:
snapshotCopyConfiguration- The snapshot copy configuration object that is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotCopyConfiguration
default CreateSnapshotCopyConfigurationResponse.Builder snapshotCopyConfiguration(Consumer<SnapshotCopyConfiguration.Builder> snapshotCopyConfiguration)
The snapshot copy configuration object that is returned.
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:
snapshotCopyConfiguration(SnapshotCopyConfiguration)
-
-