public static interface ListPrincipalsResponse.Builder extends RamResponse.Builder, SdkPojo, CopyableBuilder<ListPrincipalsResponse.Builder,ListPrincipalsResponse>
Modifier and Type | Method and Description |
---|---|
ListPrincipalsResponse.Builder |
nextToken(String nextToken)
The token to use to retrieve the next page of results.
|
ListPrincipalsResponse.Builder |
principals(Collection<Principal> principals)
The principals.
|
ListPrincipalsResponse.Builder |
principals(Consumer<Principal.Builder>... principals)
The principals.
|
ListPrincipalsResponse.Builder |
principals(Principal... principals)
The principals.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListPrincipalsResponse.Builder principals(Collection<Principal> principals)
The principals.
principals
- The principals.ListPrincipalsResponse.Builder principals(Principal... principals)
The principals.
principals
- The principals.ListPrincipalsResponse.Builder principals(Consumer<Principal.Builder>... principals)
The principals.
This is a convenience that creates an instance of theList.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 #principals(List)
.principals
- a consumer that will call methods on List.Builder
#principals(List)
ListPrincipalsResponse.Builder nextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are
no more results to return.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.