Class ExchangeCodeForTokenRequestBody
- java.lang.Object
-
- software.amazon.awssdk.services.amplifyuibuilder.model.ExchangeCodeForTokenRequestBody
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ExchangeCodeForTokenRequestBody.Builder,ExchangeCodeForTokenRequestBody>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExchangeCodeForTokenRequestBody.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExchangeCodeForTokenRequestBody.Builderbuilder()StringclientId()The ID of the client to request the token from.Stringcode()The access code to send in the request.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringredirectUri()The location of the application that will receive the access code.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ExchangeCodeForTokenRequestBody.Builder>serializableBuilderClass()ExchangeCodeForTokenRequestBody.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
code
public final String code()
The access code to send in the request.
- Returns:
- The access code to send in the request.
-
redirectUri
public final String redirectUri()
The location of the application that will receive the access code.
- Returns:
- The location of the application that will receive the access code.
-
clientId
public final String clientId()
The ID of the client to request the token from.
- Returns:
- The ID of the client to request the token from.
-
toBuilder
public ExchangeCodeForTokenRequestBody.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExchangeCodeForTokenRequestBody.Builder,ExchangeCodeForTokenRequestBody>
-
builder
public static ExchangeCodeForTokenRequestBody.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExchangeCodeForTokenRequestBody.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-