@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateConnectionOAuthRequestParameters extends Object implements Serializable, Cloneable, StructuredPojo
Contains the OAuth authorization parameters to use for the connection.
Constructor and Description |
---|
CreateConnectionOAuthRequestParameters() |
Modifier and Type | Method and Description |
---|---|
CreateConnectionOAuthRequestParameters |
clone() |
boolean |
equals(Object obj) |
String |
getAuthorizationEndpoint()
The URL to the authorization endpoint when OAuth is specified as the authorization type.
|
CreateConnectionOAuthClientRequestParameters |
getClientParameters()
A
CreateConnectionOAuthClientRequestParameters object that contains the client parameters for OAuth
authorization. |
String |
getHttpMethod()
The method to use for the authorization request.
|
ConnectionHttpParameters |
getOAuthHttpParameters()
A
ConnectionHttpParameters object that contains details about the additional parameters to use for
the connection. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthorizationEndpoint(String authorizationEndpoint)
The URL to the authorization endpoint when OAuth is specified as the authorization type.
|
void |
setClientParameters(CreateConnectionOAuthClientRequestParameters clientParameters)
A
CreateConnectionOAuthClientRequestParameters object that contains the client parameters for OAuth
authorization. |
void |
setHttpMethod(String httpMethod)
The method to use for the authorization request.
|
void |
setOAuthHttpParameters(ConnectionHttpParameters oAuthHttpParameters)
A
ConnectionHttpParameters object that contains details about the additional parameters to use for
the connection. |
String |
toString()
Returns a string representation of this object.
|
CreateConnectionOAuthRequestParameters |
withAuthorizationEndpoint(String authorizationEndpoint)
The URL to the authorization endpoint when OAuth is specified as the authorization type.
|
CreateConnectionOAuthRequestParameters |
withClientParameters(CreateConnectionOAuthClientRequestParameters clientParameters)
A
CreateConnectionOAuthClientRequestParameters object that contains the client parameters for OAuth
authorization. |
CreateConnectionOAuthRequestParameters |
withHttpMethod(ConnectionOAuthHttpMethod httpMethod)
The method to use for the authorization request.
|
CreateConnectionOAuthRequestParameters |
withHttpMethod(String httpMethod)
The method to use for the authorization request.
|
CreateConnectionOAuthRequestParameters |
withOAuthHttpParameters(ConnectionHttpParameters oAuthHttpParameters)
A
ConnectionHttpParameters object that contains details about the additional parameters to use for
the connection. |
public CreateConnectionOAuthRequestParameters()
public void setClientParameters(CreateConnectionOAuthClientRequestParameters clientParameters)
A CreateConnectionOAuthClientRequestParameters
object that contains the client parameters for OAuth
authorization.
clientParameters
- A CreateConnectionOAuthClientRequestParameters
object that contains the client parameters for
OAuth authorization.public CreateConnectionOAuthClientRequestParameters getClientParameters()
A CreateConnectionOAuthClientRequestParameters
object that contains the client parameters for OAuth
authorization.
CreateConnectionOAuthClientRequestParameters
object that contains the client parameters
for OAuth authorization.public CreateConnectionOAuthRequestParameters withClientParameters(CreateConnectionOAuthClientRequestParameters clientParameters)
A CreateConnectionOAuthClientRequestParameters
object that contains the client parameters for OAuth
authorization.
clientParameters
- A CreateConnectionOAuthClientRequestParameters
object that contains the client parameters for
OAuth authorization.public void setAuthorizationEndpoint(String authorizationEndpoint)
The URL to the authorization endpoint when OAuth is specified as the authorization type.
authorizationEndpoint
- The URL to the authorization endpoint when OAuth is specified as the authorization type.public String getAuthorizationEndpoint()
The URL to the authorization endpoint when OAuth is specified as the authorization type.
public CreateConnectionOAuthRequestParameters withAuthorizationEndpoint(String authorizationEndpoint)
The URL to the authorization endpoint when OAuth is specified as the authorization type.
authorizationEndpoint
- The URL to the authorization endpoint when OAuth is specified as the authorization type.public void setHttpMethod(String httpMethod)
The method to use for the authorization request.
httpMethod
- The method to use for the authorization request.ConnectionOAuthHttpMethod
public String getHttpMethod()
The method to use for the authorization request.
ConnectionOAuthHttpMethod
public CreateConnectionOAuthRequestParameters withHttpMethod(String httpMethod)
The method to use for the authorization request.
httpMethod
- The method to use for the authorization request.ConnectionOAuthHttpMethod
public CreateConnectionOAuthRequestParameters withHttpMethod(ConnectionOAuthHttpMethod httpMethod)
The method to use for the authorization request.
httpMethod
- The method to use for the authorization request.ConnectionOAuthHttpMethod
public void setOAuthHttpParameters(ConnectionHttpParameters oAuthHttpParameters)
A ConnectionHttpParameters
object that contains details about the additional parameters to use for
the connection.
oAuthHttpParameters
- A ConnectionHttpParameters
object that contains details about the additional parameters to
use for the connection.public ConnectionHttpParameters getOAuthHttpParameters()
A ConnectionHttpParameters
object that contains details about the additional parameters to use for
the connection.
ConnectionHttpParameters
object that contains details about the additional parameters to
use for the connection.public CreateConnectionOAuthRequestParameters withOAuthHttpParameters(ConnectionHttpParameters oAuthHttpParameters)
A ConnectionHttpParameters
object that contains details about the additional parameters to use for
the connection.
oAuthHttpParameters
- A ConnectionHttpParameters
object that contains details about the additional parameters to
use for the connection.public String toString()
toString
in class Object
Object.toString()
public CreateConnectionOAuthRequestParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.