@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExchangeCodeForTokenRequestBody extends Object implements Serializable, Cloneable, StructuredPojo
Describes the configuration of a request to exchange an access code for a token.
| Constructor and Description |
|---|
ExchangeCodeForTokenRequestBody() |
| Modifier and Type | Method and Description |
|---|---|
ExchangeCodeForTokenRequestBody |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The access code to send in the request.
|
String |
getRedirectUri()
The location of the application that will receive the access code.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCode(String code)
The access code to send in the request.
|
void |
setRedirectUri(String redirectUri)
The location of the application that will receive the access code.
|
String |
toString()
Returns a string representation of this object.
|
ExchangeCodeForTokenRequestBody |
withCode(String code)
The access code to send in the request.
|
ExchangeCodeForTokenRequestBody |
withRedirectUri(String redirectUri)
The location of the application that will receive the access code.
|
public void setCode(String code)
The access code to send in the request.
code - The access code to send in the request.public String getCode()
The access code to send in the request.
public ExchangeCodeForTokenRequestBody withCode(String code)
The access code to send in the request.
code - The access code to send in the request.public void setRedirectUri(String redirectUri)
The location of the application that will receive the access code.
redirectUri - The location of the application that will receive the access code.public String getRedirectUri()
The location of the application that will receive the access code.
public ExchangeCodeForTokenRequestBody withRedirectUri(String redirectUri)
The location of the application that will receive the access code.
redirectUri - The location of the application that will receive the access code.public String toString()
toString in class ObjectObject.toString()public ExchangeCodeForTokenRequestBody clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.