public static interface ListAccessTokensResponse.Builder extends CodeCatalystResponse.Builder, SdkPojo, CopyableBuilder<ListAccessTokensResponse.Builder,ListAccessTokensResponse>
| Modifier and Type | Method and Description |
|---|---|
ListAccessTokensResponse.Builder |
items(AccessTokenSummary... items)
A list of personal access tokens (PATs) associated with the calling user.
|
ListAccessTokensResponse.Builder |
items(Collection<AccessTokenSummary> items)
A list of personal access tokens (PATs) associated with the calling user.
|
ListAccessTokensResponse.Builder |
items(Consumer<AccessTokenSummary.Builder>... items)
A list of personal access tokens (PATs) associated with the calling user.
|
ListAccessTokensResponse.Builder |
nextToken(String nextToken)
A token returned from a call to this API to indicate the next batch of results to return, if any.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListAccessTokensResponse.Builder items(Collection<AccessTokenSummary> items)
A list of personal access tokens (PATs) associated with the calling user.
items - A list of personal access tokens (PATs) associated with the calling user.ListAccessTokensResponse.Builder items(AccessTokenSummary... items)
A list of personal access tokens (PATs) associated with the calling user.
items - A list of personal access tokens (PATs) associated with the calling user.ListAccessTokensResponse.Builder items(Consumer<AccessTokenSummary.Builder>... items)
A list of personal access tokens (PATs) associated with the calling user.
This is a convenience method that creates an instance of theAccessTokenSummary.Builder avoiding the need to
create one manually via
AccessTokenSummary.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #items(List.
items - a consumer that will call methods on
AccessTokenSummary.Builder#items(java.util.Collection) ListAccessTokensResponse.Builder nextToken(String nextToken)
A token returned from a call to this API to indicate the next batch of results to return, if any.
nextToken - A token returned from a call to this API to indicate the next batch of results to return, if any.Copyright © 2022. All rights reserved.