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.Builder
accessToken(String accessToken)
A time unit ofseconds
,minutes
,hours
, ordays
for the value that you set in theAccessTokenValidity
parameter.TokenValidityUnitsType.Builder
accessToken(TimeUnitsType accessToken)
A time unit ofseconds
,minutes
,hours
, ordays
for the value that you set in theAccessTokenValidity
parameter.TokenValidityUnitsType.Builder
idToken(String idToken)
A time unit ofseconds
,minutes
,hours
, ordays
for the value that you set in theIdTokenValidity
parameter.TokenValidityUnitsType.Builder
idToken(TimeUnitsType idToken)
A time unit ofseconds
,minutes
,hours
, ordays
for the value that you set in theIdTokenValidity
parameter.TokenValidityUnitsType.Builder
refreshToken(String refreshToken)
A time unit ofseconds
,minutes
,hours
, ordays
for the value that you set in theRefreshTokenValidity
parameter.TokenValidityUnitsType.Builder
refreshToken(TimeUnitsType refreshToken)
A time unit ofseconds
,minutes
,hours
, ordays
for the value that you set in theRefreshTokenValidity
parameter.-
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
-
accessToken
TokenValidityUnitsType.Builder accessToken(String accessToken)
A time unit of
seconds
,minutes
,hours
, ordays
for the value that you set in theAccessTokenValidity
parameter. The defaultAccessTokenValidity
time unit is hours.AccessTokenValidity
duration can range from five minutes to one day.- Parameters:
accessToken
- A time unit ofseconds
,minutes
,hours
, ordays
for the value that you set in theAccessTokenValidity
parameter. The defaultAccessTokenValidity
time unit is hours.AccessTokenValidity
duration 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 of
seconds
,minutes
,hours
, ordays
for the value that you set in theAccessTokenValidity
parameter. The defaultAccessTokenValidity
time unit is hours.AccessTokenValidity
duration can range from five minutes to one day.- Parameters:
accessToken
- A time unit ofseconds
,minutes
,hours
, ordays
for the value that you set in theAccessTokenValidity
parameter. The defaultAccessTokenValidity
time unit is hours.AccessTokenValidity
duration 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 of
seconds
,minutes
,hours
, ordays
for the value that you set in theIdTokenValidity
parameter. The defaultIdTokenValidity
time unit is hours.IdTokenValidity
duration can range from five minutes to one day.- Parameters:
idToken
- A time unit ofseconds
,minutes
,hours
, ordays
for the value that you set in theIdTokenValidity
parameter. The defaultIdTokenValidity
time unit is hours.IdTokenValidity
duration 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 of
seconds
,minutes
,hours
, ordays
for the value that you set in theIdTokenValidity
parameter. The defaultIdTokenValidity
time unit is hours.IdTokenValidity
duration can range from five minutes to one day.- Parameters:
idToken
- A time unit ofseconds
,minutes
,hours
, ordays
for the value that you set in theIdTokenValidity
parameter. The defaultIdTokenValidity
time unit is hours.IdTokenValidity
duration 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 of
seconds
,minutes
,hours
, ordays
for the value that you set in theRefreshTokenValidity
parameter. The defaultRefreshTokenValidity
time unit is days.RefreshTokenValidity
duration can range from 60 minutes to 10 years.- Parameters:
refreshToken
- A time unit ofseconds
,minutes
,hours
, ordays
for the value that you set in theRefreshTokenValidity
parameter. The defaultRefreshTokenValidity
time unit is days.RefreshTokenValidity
duration 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 of
seconds
,minutes
,hours
, ordays
for the value that you set in theRefreshTokenValidity
parameter. The defaultRefreshTokenValidity
time unit is days.RefreshTokenValidity
duration can range from 60 minutes to 10 years.- Parameters:
refreshToken
- A time unit ofseconds
,minutes
,hours
, ordays
for the value that you set in theRefreshTokenValidity
parameter. The defaultRefreshTokenValidity
time unit is days.RefreshTokenValidity
duration 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
-
-