public static interface ListPrincipalsResponse.Builder extends RamResponse.Builder, SdkPojo, CopyableBuilder<ListPrincipalsResponse.Builder,ListPrincipalsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListPrincipalsResponse.Builder |
nextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response.
|
ListPrincipalsResponse.Builder |
principals(Collection<Principal> principals)
An array of objects that contain the details about the principals.
|
ListPrincipalsResponse.Builder |
principals(Consumer<Principal.Builder>... principals)
An array of objects that contain the details about the principals.
|
ListPrincipalsResponse.Builder |
principals(Principal... principals)
An array of objects that contain the details about the principals.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListPrincipalsResponse.Builder principals(Collection<Principal> principals)
An array of objects that contain the details about the principals.
principals - An array of objects that contain the details about the principals.ListPrincipalsResponse.Builder principals(Principal... principals)
An array of objects that contain the details about the principals.
principals - An array of objects that contain the details about the principals.ListPrincipalsResponse.Builder principals(Consumer<Principal.Builder>... principals)
An array of objects that contain the details about the principals.
This is a convenience method that creates an instance of thePrincipal.Builder avoiding the need to create one manually
via Principal.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #principals(List.
principals - a consumer that will call methods on
Principal.Builder#principals(java.util.Collection) ListPrincipalsResponse.Builder nextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response. Use
this value in the NextToken request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken response element comes back
as null. This indicates that this is the last page of results.
nextToken - If present, this value indicates that more output is available than is included in the current
response. Use this value in the NextToken request parameter in a subsequent call to the
operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null. This indicates that this is the last page of
results.Copyright © 2023. All rights reserved.