Interface TokenData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TokenData.Builder,TokenData>,SdkBuilder<TokenData.Builder,TokenData>,SdkPojo
- Enclosing class:
- TokenData
public static interface TokenData.Builder extends SdkPojo, CopyableBuilder<TokenData.Builder,TokenData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TokenData.BuilderexpirationTime(String expirationTime)Token expiration time, in ISO8601-UTC format.TokenData.BuilderlicenseArn(String licenseArn)Amazon Resource Name (ARN) of the license.TokenData.BuilderroleArns(String... roleArns)Amazon Resource Names (ARN) of the roles included in the token.TokenData.BuilderroleArns(Collection<String> roleArns)Amazon Resource Names (ARN) of the roles included in the token.TokenData.Builderstatus(String status)Token status.TokenData.BuildertokenId(String tokenId)Token ID.TokenData.BuildertokenProperties(String... tokenProperties)Data specified by the caller.TokenData.BuildertokenProperties(Collection<String> tokenProperties)Data specified by the caller.TokenData.BuildertokenType(String tokenType)Type of token generated.-
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
-
tokenId
TokenData.Builder tokenId(String tokenId)
Token ID.
- Parameters:
tokenId- Token ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenType
TokenData.Builder tokenType(String tokenType)
Type of token generated. The supported value is
REFRESH_TOKEN.- Parameters:
tokenType- Type of token generated. The supported value isREFRESH_TOKEN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseArn
TokenData.Builder licenseArn(String licenseArn)
Amazon Resource Name (ARN) of the license.
- Parameters:
licenseArn- Amazon Resource Name (ARN) of the license.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expirationTime
TokenData.Builder expirationTime(String expirationTime)
Token expiration time, in ISO8601-UTC format.
- Parameters:
expirationTime- Token expiration time, in ISO8601-UTC format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenProperties
TokenData.Builder tokenProperties(Collection<String> tokenProperties)
Data specified by the caller.
- Parameters:
tokenProperties- Data specified by the caller.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenProperties
TokenData.Builder tokenProperties(String... tokenProperties)
Data specified by the caller.
- Parameters:
tokenProperties- Data specified by the caller.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArns
TokenData.Builder roleArns(Collection<String> roleArns)
Amazon Resource Names (ARN) of the roles included in the token.
- Parameters:
roleArns- Amazon Resource Names (ARN) of the roles included in the token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArns
TokenData.Builder roleArns(String... roleArns)
Amazon Resource Names (ARN) of the roles included in the token.
- Parameters:
roleArns- Amazon Resource Names (ARN) of the roles included in the token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
TokenData.Builder status(String status)
Token status. The possible values are
AVAILABLEandDELETED.- Parameters:
status- Token status. The possible values areAVAILABLEandDELETED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-