Interface TokenValidityUnitsType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TokenValidityUnitsType.Builder,TokenValidityUnitsType>,SdkBuilder<TokenValidityUnitsType.Builder,TokenValidityUnitsType>,SdkPojo
- Enclosing class:
- TokenValidityUnitsType
public static interface TokenValidityUnitsType.Builder extends SdkPojo, CopyableBuilder<TokenValidityUnitsType.Builder,TokenValidityUnitsType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TokenValidityUnitsType.BuilderaccessToken(String accessToken)A time unit for the value that you set in theAccessTokenValidityparameter.TokenValidityUnitsType.BuilderaccessToken(TimeUnitsType accessToken)A time unit for the value that you set in theAccessTokenValidityparameter.TokenValidityUnitsType.BuilderidToken(String idToken)A time unit for the value that you set in theIdTokenValidityparameter.TokenValidityUnitsType.BuilderidToken(TimeUnitsType idToken)A time unit for the value that you set in theIdTokenValidityparameter.TokenValidityUnitsType.BuilderrefreshToken(String refreshToken)A time unit for the value that you set in theRefreshTokenValidityparameter.TokenValidityUnitsType.BuilderrefreshToken(TimeUnitsType refreshToken)A time unit for the value that you set in theRefreshTokenValidityparameter.-
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 Detail
-
accessToken
TokenValidityUnitsType.Builder accessToken(String accessToken)
A time unit for the value that you set in the
AccessTokenValidityparameter. The defaultAccessTokenValiditytime unit ishours.AccessTokenValidityduration can range from five minutes to one day.- Parameters:
accessToken- A time unit for the value that you set in theAccessTokenValidityparameter. The defaultAccessTokenValiditytime unit ishours.AccessTokenValidityduration can range from five minutes to one day.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TimeUnitsType,TimeUnitsType
-
accessToken
TokenValidityUnitsType.Builder accessToken(TimeUnitsType accessToken)
A time unit for the value that you set in the
AccessTokenValidityparameter. The defaultAccessTokenValiditytime unit ishours.AccessTokenValidityduration can range from five minutes to one day.- Parameters:
accessToken- A time unit for the value that you set in theAccessTokenValidityparameter. The defaultAccessTokenValiditytime unit ishours.AccessTokenValidityduration can range from five minutes to one day.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TimeUnitsType,TimeUnitsType
-
idToken
TokenValidityUnitsType.Builder idToken(String idToken)
A time unit for the value that you set in the
IdTokenValidityparameter. The defaultIdTokenValiditytime unit ishours.IdTokenValidityduration can range from five minutes to one day.- Parameters:
idToken- A time unit for the value that you set in theIdTokenValidityparameter. The defaultIdTokenValiditytime unit ishours.IdTokenValidityduration can range from five minutes to one day.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TimeUnitsType,TimeUnitsType
-
idToken
TokenValidityUnitsType.Builder idToken(TimeUnitsType idToken)
A time unit for the value that you set in the
IdTokenValidityparameter. The defaultIdTokenValiditytime unit ishours.IdTokenValidityduration can range from five minutes to one day.- Parameters:
idToken- A time unit for the value that you set in theIdTokenValidityparameter. The defaultIdTokenValiditytime unit ishours.IdTokenValidityduration can range from five minutes to one day.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TimeUnitsType,TimeUnitsType
-
refreshToken
TokenValidityUnitsType.Builder refreshToken(String refreshToken)
A time unit for the value that you set in the
RefreshTokenValidityparameter. The defaultRefreshTokenValiditytime unit isdays.RefreshTokenValidityduration can range from 60 minutes to 10 years.- Parameters:
refreshToken- A time unit for the value that you set in theRefreshTokenValidityparameter. The defaultRefreshTokenValiditytime unit isdays.RefreshTokenValidityduration can range from 60 minutes to 10 years.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TimeUnitsType,TimeUnitsType
-
refreshToken
TokenValidityUnitsType.Builder refreshToken(TimeUnitsType refreshToken)
A time unit for the value that you set in the
RefreshTokenValidityparameter. The defaultRefreshTokenValiditytime unit isdays.RefreshTokenValidityduration can range from 60 minutes to 10 years.- Parameters:
refreshToken- A time unit for the value that you set in theRefreshTokenValidityparameter. The defaultRefreshTokenValiditytime unit isdays.RefreshTokenValidityduration can range from 60 minutes to 10 years.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TimeUnitsType,TimeUnitsType
-
-