| 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 in “seconds”, “minutes”, “hours” or “days” for the value in AccessTokenValidity, defaults to hours.
|
TokenValidityUnitsType |
TokenValidityUnitsType.withIdToken(TimeUnitsType idToken)
A time unit in “seconds”, “minutes”, “hours” or “days” for the value in IdTokenValidity, defaults to hours.
|
TokenValidityUnitsType |
TokenValidityUnitsType.withRefreshToken(TimeUnitsType refreshToken)
A time unit in “seconds”, “minutes”, “hours” or “days” for the value in RefreshTokenValidity, defaults to days.
|
Copyright © 2021. All rights reserved.