Interface ModifyClusterSnapshotResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<ModifyClusterSnapshotResponse.Builder,,ModifyClusterSnapshotResponse> RedshiftResponse.Builder,SdkBuilder<ModifyClusterSnapshotResponse.Builder,,ModifyClusterSnapshotResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 ModifyClusterSnapshotResponse
public static interface ModifyClusterSnapshotResponse.Builder
extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<ModifyClusterSnapshotResponse.Builder,ModifyClusterSnapshotResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionsnapshot(Consumer<Snapshot.Builder> snapshot) Sets the value of the Snapshot property for this object.Sets the value of the Snapshot property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.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
- 
snapshot
Sets the value of the Snapshot property for this object.- Parameters:
 snapshot- The new value for the Snapshot property for this object.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
snapshot
Sets the value of the Snapshot property for this object. This is a convenience method that creates an instance of theSnapshot.Builderavoiding the need to create one manually viaSnapshot.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosnapshot(Snapshot).- Parameters:
 snapshot- a consumer that will call methods onSnapshot.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -