Interface CreateSnapshotCopyGrantResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<CreateSnapshotCopyGrantResponse.Builder,,CreateSnapshotCopyGrantResponse> RedshiftResponse.Builder,SdkBuilder<CreateSnapshotCopyGrantResponse.Builder,,CreateSnapshotCopyGrantResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 CreateSnapshotCopyGrantResponse
public static interface CreateSnapshotCopyGrantResponse.Builder
extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<CreateSnapshotCopyGrantResponse.Builder,CreateSnapshotCopyGrantResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionsnapshotCopyGrant(Consumer<SnapshotCopyGrant.Builder> snapshotCopyGrant) Sets the value of the SnapshotCopyGrant property for this object.snapshotCopyGrant(SnapshotCopyGrant snapshotCopyGrant) Sets the value of the SnapshotCopyGrant 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
- 
snapshotCopyGrant
Sets the value of the SnapshotCopyGrant property for this object.- Parameters:
 snapshotCopyGrant- The new value for the SnapshotCopyGrant property for this object.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
snapshotCopyGrant
default CreateSnapshotCopyGrantResponse.Builder snapshotCopyGrant(Consumer<SnapshotCopyGrant.Builder> snapshotCopyGrant) Sets the value of the SnapshotCopyGrant property for this object. This is a convenience method that creates an instance of theSnapshotCopyGrant.Builderavoiding the need to create one manually viaSnapshotCopyGrant.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosnapshotCopyGrant(SnapshotCopyGrant).- Parameters:
 snapshotCopyGrant- a consumer that will call methods onSnapshotCopyGrant.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -