@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectorOAuthRequest extends Object implements Serializable, Cloneable, StructuredPojo
Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.
Constructor and Description |
---|
ConnectorOAuthRequest() |
Modifier and Type | Method and Description |
---|---|
ConnectorOAuthRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAuthCode()
The code provided by the connector when it has been authenticated via the connected app.
|
String |
getRedirectUri()
The URL to which the authentication server redirects the browser after authorization has been granted.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthCode(String authCode)
The code provided by the connector when it has been authenticated via the connected app.
|
void |
setRedirectUri(String redirectUri)
The URL to which the authentication server redirects the browser after authorization has been granted.
|
String |
toString()
Returns a string representation of this object.
|
ConnectorOAuthRequest |
withAuthCode(String authCode)
The code provided by the connector when it has been authenticated via the connected app.
|
ConnectorOAuthRequest |
withRedirectUri(String redirectUri)
The URL to which the authentication server redirects the browser after authorization has been granted.
|
public void setAuthCode(String authCode)
The code provided by the connector when it has been authenticated via the connected app.
authCode
- The code provided by the connector when it has been authenticated via the connected app.public String getAuthCode()
The code provided by the connector when it has been authenticated via the connected app.
public ConnectorOAuthRequest withAuthCode(String authCode)
The code provided by the connector when it has been authenticated via the connected app.
authCode
- The code provided by the connector when it has been authenticated via the connected app.public void setRedirectUri(String redirectUri)
The URL to which the authentication server redirects the browser after authorization has been granted.
redirectUri
- The URL to which the authentication server redirects the browser after authorization has been granted.public String getRedirectUri()
The URL to which the authentication server redirects the browser after authorization has been granted.
public ConnectorOAuthRequest withRedirectUri(String redirectUri)
The URL to which the authentication server redirects the browser after authorization has been granted.
redirectUri
- The URL to which the authentication server redirects the browser after authorization has been granted.public String toString()
toString
in class Object
Object.toString()
public ConnectorOAuthRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.