@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthorizationCodeGrant extends Object implements Serializable, Cloneable, StructuredPojo
A structure that defines configuration settings for an application that supports the OAuth 2.0 Authorization Code Grant.
| Constructor and Description | 
|---|
| AuthorizationCodeGrant() | 
| Modifier and Type | Method and Description | 
|---|---|
| AuthorizationCodeGrant | clone() | 
| boolean | equals(Object obj) | 
| List<String> | getRedirectUris()
 A list of URIs that are valid locations to redirect a user's browser after the user is authorized. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setRedirectUris(Collection<String> redirectUris)
 A list of URIs that are valid locations to redirect a user's browser after the user is authorized. | 
| String | toString()Returns a string representation of this object. | 
| AuthorizationCodeGrant | withRedirectUris(Collection<String> redirectUris)
 A list of URIs that are valid locations to redirect a user's browser after the user is authorized. | 
| AuthorizationCodeGrant | withRedirectUris(String... redirectUris)
 A list of URIs that are valid locations to redirect a user's browser after the user is authorized. | 
public List<String> getRedirectUris()
A list of URIs that are valid locations to redirect a user's browser after the user is authorized.
public void setRedirectUris(Collection<String> redirectUris)
A list of URIs that are valid locations to redirect a user's browser after the user is authorized.
redirectUris - A list of URIs that are valid locations to redirect a user's browser after the user is authorized.public AuthorizationCodeGrant withRedirectUris(String... redirectUris)
A list of URIs that are valid locations to redirect a user's browser after the user is authorized.
 NOTE: This method appends the values to the existing list (if any). Use
 setRedirectUris(java.util.Collection) or withRedirectUris(java.util.Collection) if you want to
 override the existing values.
 
redirectUris - A list of URIs that are valid locations to redirect a user's browser after the user is authorized.public AuthorizationCodeGrant withRedirectUris(Collection<String> redirectUris)
A list of URIs that are valid locations to redirect a user's browser after the user is authorized.
redirectUris - A list of URIs that are valid locations to redirect a user's browser after the user is authorized.public String toString()
toString in class ObjectObject.toString()public AuthorizationCodeGrant clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.