public static interface ListGrantsResponse.Builder extends KmsResponse.Builder, SdkPojo, CopyableBuilder<ListGrantsResponse.Builder,ListGrantsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListGrantsResponse.Builder |
grants(Collection<GrantListEntry> grants)
A list of grants.
|
ListGrantsResponse.Builder |
grants(Consumer<GrantListEntry.Builder>... 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.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListGrantsResponse.Builder grants(Collection<GrantListEntry> grants)
A list of grants.
grants - A list of grants.ListGrantsResponse.Builder grants(GrantListEntry... grants)
A list of grants.
grants - A list of grants.ListGrantsResponse.Builder grants(Consumer<GrantListEntry.Builder>... grants)
A list of grants.
This is a convenience method that creates an instance of theGrantListEntry.Builder avoiding the need to create one
manually via GrantListEntry.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #grants(List.
grants - a consumer that will call methods on
GrantListEntry.Builder#grants(java.util.Collection) 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 get more items, pass the value of the NextMarker element in
thisresponse 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 get more items, pass the value of the NextMarker element
in thisresponse to the Marker parameter in a subsequent request.Copyright © 2023. All rights reserved.