public static interface ListTokensResponse.Builder extends LicenseManagerResponse.Builder, SdkPojo, CopyableBuilder<ListTokensResponse.Builder,ListTokensResponse>
| Modifier and Type | Method and Description |
|---|---|
ListTokensResponse.Builder |
nextToken(String nextToken)
Token for the next set of results.
|
ListTokensResponse.Builder |
tokens(Collection<TokenData> tokens)
Received token details.
|
ListTokensResponse.Builder |
tokens(Consumer<TokenData.Builder>... tokens)
Received token details.
|
ListTokensResponse.Builder |
tokens(TokenData... tokens)
Received token details.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListTokensResponse.Builder tokens(Collection<TokenData> tokens)
Received token details.
tokens - Received token details.ListTokensResponse.Builder tokens(TokenData... tokens)
Received token details.
tokens - Received token details.ListTokensResponse.Builder tokens(Consumer<TokenData.Builder>... tokens)
Received token details.
This is a convenience method that creates an instance of theTokenData.Builder avoiding the need to create
one manually via TokenData.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #tokens(List.
tokens - a consumer that will call methods on
TokenData.Builder#tokens(java.util.Collection) ListTokensResponse.Builder nextToken(String nextToken)
Token for the next set of results.
nextToken - Token for the next set of results.Copyright © 2023. All rights reserved.