Interface AccessTokenSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AccessTokenSummary.Builder,
,AccessTokenSummary> SdkBuilder<AccessTokenSummary.Builder,
,AccessTokenSummary> SdkPojo
- Enclosing class:
AccessTokenSummary
@Mutable
@NotThreadSafe
public static interface AccessTokenSummary.Builder
extends SdkPojo, CopyableBuilder<AccessTokenSummary.Builder,AccessTokenSummary>
-
Method Summary
Modifier and TypeMethodDescriptionexpiresTime
(Instant expiresTime) The date and time when the personal access token will expire, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.The system-generated ID of the personal access token.The friendly name of the personal access token.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, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The system-generated ID of the personal access token.
- Parameters:
id
- The system-generated ID 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 when the personal access token will expire, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
- Parameters:
expiresTime
- The date and time when the personal access token will expire, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-