@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 String deviceCode()
The short-lived code that is used by the device when polling for a session token.
public String userCode()
A one-time user verification code. This is needed to authorize an in-use device.
public String verificationUri()
The URI of the verification page that takes the userCode to authorize the device.
userCode to authorize the device.public 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 Integer expiresIn()
Indicates the number of seconds in which the verification code will become invalid.
public 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 int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.