public static interface CreateAccessTokenResponse.Builder extends CodeCatalystResponse.Builder, SdkPojo, CopyableBuilder<CreateAccessTokenResponse.Builder,CreateAccessTokenResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateAccessTokenResponse.Builder |
expiresTime(Instant expiresTime)
The date and time the personal access token expires, in coordinated universal time (UTC) timestamp format as
specified in RFC 3339.
|
CreateAccessTokenResponse.Builder |
name(String name)
The friendly name of the personal access token.
|
CreateAccessTokenResponse.Builder |
secret(String secret)
The secret value of the personal access token.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateAccessTokenResponse.Builder secret(String secret)
The secret value of the personal access token.
secret - The secret value of the personal access token.CreateAccessTokenResponse.Builder name(String name)
The friendly name of the personal access token.
name - The friendly name of the personal access token.CreateAccessTokenResponse.Builder expiresTime(Instant 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.
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.Copyright © 2023. All rights reserved.