| Package | Description |
|---|---|
| com.amazonaws.services.cognitoidp.model |
| Modifier and Type | Method and Description |
|---|---|
static TimeUnitsType |
TimeUnitsType.fromValue(String value)
Use this in place of valueOf.
|
static TimeUnitsType |
TimeUnitsType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeUnitsType[] |
TimeUnitsType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
TokenValidityUnitsType |
TokenValidityUnitsType.withAccessToken(TimeUnitsType accessToken)
A time unit of
seconds, minutes, hours, or days for the value
that you set in the AccessTokenValidity parameter. |
TokenValidityUnitsType |
TokenValidityUnitsType.withIdToken(TimeUnitsType idToken)
A time unit of
seconds, minutes, hours, or days for the value
that you set in the IdTokenValidity parameter. |
TokenValidityUnitsType |
TokenValidityUnitsType.withRefreshToken(TimeUnitsType refreshToken)
A time unit of
seconds, minutes, hours, or days for the value
that you set in the RefreshTokenValidity parameter. |
Copyright © 2022. All rights reserved.