Interface CreateAccessTokenResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeCatalystResponse.Builder
,CopyableBuilder<CreateAccessTokenResponse.Builder,
,CreateAccessTokenResponse> SdkBuilder<CreateAccessTokenResponse.Builder,
,CreateAccessTokenResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateAccessTokenResponse
public static interface CreateAccessTokenResponse.Builder
extends CodeCatalystResponse.Builder, SdkPojo, CopyableBuilder<CreateAccessTokenResponse.Builder,CreateAccessTokenResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccessTokenId
(String accessTokenId) The system-generated unique ID of the access token.expiresTime
(Instant expiresTime) The date and time the personal access token expires, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.The friendly name of the personal access token.The secret value of the personal access token.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 Details
-
secret
The secret value of the personal access token.
- Parameters:
secret
- The secret value of the personal access token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The friendly name of the personal access token.
- Parameters:
name
- The friendly name of the personal access token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiresTime
The date and time the personal access token expires, in coordinated universal time (UTC) timestamp format as specified in RFC 3339. If not specified, the default is one year from creation.
- Parameters:
expiresTime
- The date and time the personal access token expires, in coordinated universal time (UTC) timestamp format as specified in RFC 3339. If not specified, the default is one year from creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessTokenId
The system-generated unique ID of the access token.
- Parameters:
accessTokenId
- The system-generated unique ID of the access token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-