Interface AccessTokenSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AccessTokenSummary.Builder,AccessTokenSummary>,SdkBuilder<AccessTokenSummary.Builder,AccessTokenSummary>,SdkPojo
- Enclosing class:
- AccessTokenSummary
public static interface AccessTokenSummary.Builder extends SdkPojo, CopyableBuilder<AccessTokenSummary.Builder,AccessTokenSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessTokenSummary.BuilderexpiresTime(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.AccessTokenSummary.Builderid(String id)The system-generated ID of the personal access token.AccessTokenSummary.Buildername(String name)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, sdkFields
-
-
-
-
Method Detail
-
id
AccessTokenSummary.Builder id(String 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
AccessTokenSummary.Builder name(String 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
AccessTokenSummary.Builder expiresTime(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.
- 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.
-
-