@Generated(value="software.amazon.awssdk:codegen") public final class ExchangeCodeForTokenRequestBody extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExchangeCodeForTokenRequestBody.Builder,ExchangeCodeForTokenRequestBody>
Describes the configuration of a request to exchange an access code for a token.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExchangeCodeForTokenRequestBody.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ExchangeCodeForTokenRequestBody.Builder |
builder() |
String |
code()
The access code to send in the request.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
redirectUri()
The location of the application that will receive the access code.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExchangeCodeForTokenRequestBody.Builder> |
serializableBuilderClass() |
ExchangeCodeForTokenRequestBody.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String code()
The access code to send in the request.
public final String redirectUri()
The location of the application that will receive the access code.
public ExchangeCodeForTokenRequestBody.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ExchangeCodeForTokenRequestBody.Builder,ExchangeCodeForTokenRequestBody>public static ExchangeCodeForTokenRequestBody.Builder builder()
public static Class<? extends ExchangeCodeForTokenRequestBody.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.