CopyableBuilder<DescribeSnapshotCopyGrantsResponse.Builder,DescribeSnapshotCopyGrantsResponse>
, SdkBuilder<DescribeSnapshotCopyGrantsResponse.Builder,DescribeSnapshotCopyGrantsResponse>
public static interface DescribeSnapshotCopyGrantsResponse.Builder extends CopyableBuilder<DescribeSnapshotCopyGrantsResponse.Builder,DescribeSnapshotCopyGrantsResponse>
Modifier and Type | Method | 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(SnapshotCopyGrant... snapshotCopyGrants) |
The list of
SnapshotCopyGrant objects. |
copy
apply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setSnapshotCopyGrants(java.util.Collection)
or #withSnapshotCopyGrants(java.util.Collection)
if you want to override the existing values.
snapshotCopyGrants
- The list of SnapshotCopyGrant
objects.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.