public static interface CreateSnapshotCopyGrantResponse.Builder extends RedshiftResponse.Builder, CopyableBuilder<CreateSnapshotCopyGrantResponse.Builder,CreateSnapshotCopyGrantResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateSnapshotCopyGrantResponse.Builder |
snapshotCopyGrant(Consumer<SnapshotCopyGrant.Builder> snapshotCopyGrant)
Sets the value of the SnapshotCopyGrant property for this object.
|
CreateSnapshotCopyGrantResponse.Builder |
snapshotCopyGrant(SnapshotCopyGrant snapshotCopyGrant)
Sets the value of the SnapshotCopyGrant property for this object.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildCreateSnapshotCopyGrantResponse.Builder snapshotCopyGrant(SnapshotCopyGrant snapshotCopyGrant)
snapshotCopyGrant - The new value for the SnapshotCopyGrant property for this object.default CreateSnapshotCopyGrantResponse.Builder snapshotCopyGrant(Consumer<SnapshotCopyGrant.Builder> snapshotCopyGrant)
SnapshotCopyGrant.Builder avoiding the need to
create one manually via SnapshotCopyGrant.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to snapshotCopyGrant(SnapshotCopyGrant).snapshotCopyGrant - a consumer that will call methods on SnapshotCopyGrant.BuildersnapshotCopyGrant(SnapshotCopyGrant)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.