@Generated(value="software.amazon.awssdk:codegen") public final class StartDeviceAuthorizationResponse extends SsoOidcResponse implements ToCopyableBuilder<StartDeviceAuthorizationResponse.Builder,StartDeviceAuthorizationResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
StartDeviceAuthorizationResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StartDeviceAuthorizationResponse.Builder |
builder() |
String |
deviceCode()
The short-lived code that is used by the device when polling for a session token.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Integer |
expiresIn()
Indicates the number of seconds in which the verification code will become invalid.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
interval()
Indicates the number of seconds the client must wait between attempts when polling for a session.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartDeviceAuthorizationResponse.Builder> |
serializableBuilderClass() |
StartDeviceAuthorizationResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userCode()
A one-time user verification code.
|
String |
verificationUri()
The URI of the verification page that takes the
userCode to authorize the device. |
String |
verificationUriComplete()
An alternate URL that the client can use to automatically launch a browser.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String deviceCode()
The short-lived code that is used by the device when polling for a session token.
public final String userCode()
A one-time user verification code. This is needed to authorize an in-use device.
public final String verificationUri()
The URI of the verification page that takes the userCode to authorize the device.
userCode to authorize the device.public final String verificationUriComplete()
An alternate URL that the client can use to automatically launch a browser. This process skips the manual step in which the user visits the verification page and enters their code.
public final Integer expiresIn()
Indicates the number of seconds in which the verification code will become invalid.
public final Integer interval()
Indicates the number of seconds the client must wait between attempts when polling for a session.
public StartDeviceAuthorizationResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StartDeviceAuthorizationResponse.Builder,StartDeviceAuthorizationResponse>toBuilder in class AwsResponsepublic static StartDeviceAuthorizationResponse.Builder builder()
public static Class<? extends StartDeviceAuthorizationResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.