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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateSnapshotCopyGrantResponse.BuildersnapshotCopyGrant(Consumer<SnapshotCopyGrant.Builder> snapshotCopyGrant)Sets the value of the SnapshotCopyGrant property for this object.CreateSnapshotCopyGrantResponse.BuildersnapshotCopyGrant(SnapshotCopyGrant snapshotCopyGrant)Sets the value of the SnapshotCopyGrant 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 Detail
-
snapshotCopyGrant
CreateSnapshotCopyGrantResponse.Builder snapshotCopyGrant(SnapshotCopyGrant 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:
snapshotCopyGrant(SnapshotCopyGrant)
-
-