public static interface DescribeSnapshotCopyGrantsResponse.Builder extends RedshiftResponse.Builder, CopyableBuilder<DescribeSnapshotCopyGrantsResponse.Builder,DescribeSnapshotCopyGrantsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeSnapshotCopyGrantsResponse.Builder |
marker(String marker)
An optional parameter that specifies the starting point to return a set of response records.
|
DescribeSnapshotCopyGrantsResponse.Builder |
snapshotCopyGrants(Collection<SnapshotCopyGrant> snapshotCopyGrants)
The list of
SnapshotCopyGrant objects. |
DescribeSnapshotCopyGrantsResponse.Builder |
snapshotCopyGrants(Consumer<SnapshotCopyGrant.Builder>... snapshotCopyGrants)
The list of
SnapshotCopyGrant objects. |
DescribeSnapshotCopyGrantsResponse.Builder |
snapshotCopyGrants(SnapshotCopyGrant... snapshotCopyGrants)
The list of
SnapshotCopyGrant objects. |
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeSnapshotCopyGrantsResponse.Builder marker(String marker)
An optional parameter that specifies the starting point to return a set of response records. When the results
of a DescribeSnapshotCopyGrant
request exceed the value specified in MaxRecords
,
AWS returns a value in the Marker
field of the response. You can retrieve the next set of
response records by providing the returned marker value in the Marker
parameter and retrying the
request.
Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
marker
- An optional parameter that specifies the starting point to return a set of response records. When the
results of a DescribeSnapshotCopyGrant
request exceed the value specified in
MaxRecords
, AWS returns a value in the Marker
field of the response. You can
retrieve the next set of response records by providing the returned marker value in the
Marker
parameter and retrying the request.
Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
DescribeSnapshotCopyGrantsResponse.Builder snapshotCopyGrants(Collection<SnapshotCopyGrant> snapshotCopyGrants)
The list of SnapshotCopyGrant
objects.
snapshotCopyGrants
- The list of SnapshotCopyGrant
objects.DescribeSnapshotCopyGrantsResponse.Builder snapshotCopyGrants(SnapshotCopyGrant... snapshotCopyGrants)
The list of SnapshotCopyGrant
objects.
snapshotCopyGrants
- The list of SnapshotCopyGrant
objects.DescribeSnapshotCopyGrantsResponse.Builder snapshotCopyGrants(Consumer<SnapshotCopyGrant.Builder>... snapshotCopyGrants)
The list of SnapshotCopyGrant
objects.
List.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #snapshotCopyGrants(List)
.snapshotCopyGrants
- a consumer that will call methods on List.Builder
#snapshotCopyGrants(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.