CopyableBuilder<ListGrantsResponse.Builder,ListGrantsResponse>
, SdkBuilder<ListGrantsResponse.Builder,ListGrantsResponse>
public static interface ListGrantsResponse.Builder extends CopyableBuilder<ListGrantsResponse.Builder,ListGrantsResponse>
Modifier and Type | Method | Description |
---|---|---|
ListGrantsResponse.Builder |
grants(Collection<GrantListEntry> grants) |
A list of grants.
|
ListGrantsResponse.Builder |
grants(GrantListEntry... grants) |
A list of grants.
|
ListGrantsResponse.Builder |
nextMarker(String nextMarker) |
When
Truncated is true, this element is present and contains the value to use for the
Marker parameter in a subsequent request. |
ListGrantsResponse.Builder |
truncated(Boolean truncated) |
A flag that indicates whether there are more items in the list.
|
copy
apply, build
ListGrantsResponse.Builder grants(Collection<GrantListEntry> grants)
A list of grants.
grants
- A list of grants.ListGrantsResponse.Builder grants(GrantListEntry... grants)
A list of grants.
NOTE: This method appends the values to the existing list (if any). Use
#setGrants(java.util.Collection)
or #withGrants(java.util.Collection)
if you want to override
the existing values.
grants
- A list of grants.ListGrantsResponse.Builder nextMarker(String nextMarker)
When Truncated
is true, this element is present and contains the value to use for the
Marker
parameter in a subsequent request.
nextMarker
- When Truncated
is true, this element is present and contains the value to use for the
Marker
parameter in a subsequent request.ListGrantsResponse.Builder truncated(Boolean truncated)
A flag that indicates whether there are more items in the list. When this value is true, the list in this
response is truncated. To retrieve more items, pass the value of the NextMarker
element in this
response to the Marker
parameter in a subsequent request.
truncated
- A flag that indicates whether there are more items in the list. When this value is true, the list in
this response is truncated. To retrieve more items, pass the value of the NextMarker
element in this response to the Marker
parameter in a subsequent request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.