@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthRequest extends Object implements Serializable, Cloneable, StructuredPojo
Contains authorization request information, which is required for Amazon Web Services AppFabric to get the OAuth2 access token for an application.
| Constructor and Description |
|---|
AuthRequest() |
| Modifier and Type | Method and Description |
|---|---|
AuthRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The authorization code returned by the application after permission is granted in the application OAuth page
(after clicking on the AuthURL).
|
String |
getRedirectUri()
The redirect URL that is specified in the AuthURL and the application client.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCode(String code)
The authorization code returned by the application after permission is granted in the application OAuth page
(after clicking on the AuthURL).
|
void |
setRedirectUri(String redirectUri)
The redirect URL that is specified in the AuthURL and the application client.
|
String |
toString()
Returns a string representation of this object.
|
AuthRequest |
withCode(String code)
The authorization code returned by the application after permission is granted in the application OAuth page
(after clicking on the AuthURL).
|
AuthRequest |
withRedirectUri(String redirectUri)
The redirect URL that is specified in the AuthURL and the application client.
|
public void setRedirectUri(String redirectUri)
The redirect URL that is specified in the AuthURL and the application client.
redirectUri - The redirect URL that is specified in the AuthURL and the application client.public String getRedirectUri()
The redirect URL that is specified in the AuthURL and the application client.
public AuthRequest withRedirectUri(String redirectUri)
The redirect URL that is specified in the AuthURL and the application client.
redirectUri - The redirect URL that is specified in the AuthURL and the application client.public void setCode(String code)
The authorization code returned by the application after permission is granted in the application OAuth page (after clicking on the AuthURL).
code - The authorization code returned by the application after permission is granted in the application OAuth
page (after clicking on the AuthURL).public String getCode()
The authorization code returned by the application after permission is granted in the application OAuth page (after clicking on the AuthURL).
public AuthRequest withCode(String code)
The authorization code returned by the application after permission is granted in the application OAuth page (after clicking on the AuthURL).
code - The authorization code returned by the application after permission is granted in the application OAuth
page (after clicking on the AuthURL).public String toString()
toString in class ObjectObject.toString()public AuthRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.