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