Interface ListAccessTokensResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCatalystResponse.Builder,CopyableBuilder<ListAccessTokensResponse.Builder,ListAccessTokensResponse>,SdkBuilder<ListAccessTokensResponse.Builder,ListAccessTokensResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAccessTokensResponse
public static interface ListAccessTokensResponse.Builder extends CodeCatalystResponse.Builder, SdkPojo, CopyableBuilder<ListAccessTokensResponse.Builder,ListAccessTokensResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAccessTokensResponse.Builderitems(Collection<AccessTokenSummary> items)A list of personal access tokens (PATs) associated with the calling user identity.ListAccessTokensResponse.Builderitems(Consumer<AccessTokenSummary.Builder>... items)A list of personal access tokens (PATs) associated with the calling user identity.ListAccessTokensResponse.Builderitems(AccessTokenSummary... items)A list of personal access tokens (PATs) associated with the calling user identity.ListAccessTokensResponse.BuildernextToken(String nextToken)A token returned from a call to this API to indicate the next batch of results to return, if any.-
Methods inherited from interface software.amazon.awssdk.services.codecatalyst.model.CodeCatalystResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
items
ListAccessTokensResponse.Builder items(Collection<AccessTokenSummary> items)
A list of personal access tokens (PATs) associated with the calling user identity.
- Parameters:
items- A list of personal access tokens (PATs) associated with the calling user identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListAccessTokensResponse.Builder items(AccessTokenSummary... items)
A list of personal access tokens (PATs) associated with the calling user identity.
- Parameters:
items- A list of personal access tokens (PATs) associated with the calling user identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListAccessTokensResponse.Builder items(Consumer<AccessTokenSummary.Builder>... items)
A list of personal access tokens (PATs) associated with the calling user identity.
This is a convenience method that creates an instance of theAccessTokenSummary.Builderavoiding the need to create one manually viaAccessTokenSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - Parameters:
items- a consumer that will call methods onAccessTokenSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
nextToken
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.
- Parameters:
nextToken- A token returned from a call to this API to indicate the next batch of results to return, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-