@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateConnectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| CreateConnectionRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateConnectionRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getAuthorizationType()
 The type of authorization to use for the connection. | 
| CreateConnectionAuthRequestParameters | getAuthParameters()
 A  CreateConnectionAuthRequestParametersobject that contains the authorization parameters to use to
 authorize with the endpoint. | 
| String | getDescription()
 A description for the connection to create. | 
| String | getName()
 The name for the connection to create. | 
| int | hashCode() | 
| void | setAuthorizationType(String authorizationType)
 The type of authorization to use for the connection. | 
| void | setAuthParameters(CreateConnectionAuthRequestParameters authParameters)
 A  CreateConnectionAuthRequestParametersobject that contains the authorization parameters to use to
 authorize with the endpoint. | 
| void | setDescription(String description)
 A description for the connection to create. | 
| void | setName(String name)
 The name for the connection to create. | 
| String | toString()Returns a string representation of this object. | 
| CreateConnectionRequest | withAuthorizationType(ConnectionAuthorizationType authorizationType)
 The type of authorization to use for the connection. | 
| CreateConnectionRequest | withAuthorizationType(String authorizationType)
 The type of authorization to use for the connection. | 
| CreateConnectionRequest | withAuthParameters(CreateConnectionAuthRequestParameters authParameters)
 A  CreateConnectionAuthRequestParametersobject that contains the authorization parameters to use to
 authorize with the endpoint. | 
| CreateConnectionRequest | withDescription(String description)
 A description for the connection to create. | 
| CreateConnectionRequest | withName(String name)
 The name for the connection to create. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
The name for the connection to create.
name - The name for the connection to create.public String getName()
The name for the connection to create.
public CreateConnectionRequest withName(String name)
The name for the connection to create.
name - The name for the connection to create.public void setDescription(String description)
A description for the connection to create.
description - A description for the connection to create.public String getDescription()
A description for the connection to create.
public CreateConnectionRequest withDescription(String description)
A description for the connection to create.
description - A description for the connection to create.public void setAuthorizationType(String authorizationType)
The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
authorizationType - The type of authorization to use for the connection. OAUTH tokens are refreshed when a 401 or 407 response is returned.
ConnectionAuthorizationTypepublic String getAuthorizationType()
The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
ConnectionAuthorizationTypepublic CreateConnectionRequest withAuthorizationType(String authorizationType)
The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
authorizationType - The type of authorization to use for the connection. OAUTH tokens are refreshed when a 401 or 407 response is returned.
ConnectionAuthorizationTypepublic CreateConnectionRequest withAuthorizationType(ConnectionAuthorizationType authorizationType)
The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
authorizationType - The type of authorization to use for the connection. OAUTH tokens are refreshed when a 401 or 407 response is returned.
ConnectionAuthorizationTypepublic void setAuthParameters(CreateConnectionAuthRequestParameters authParameters)
 A CreateConnectionAuthRequestParameters object that contains the authorization parameters to use to
 authorize with the endpoint.
 
authParameters - A CreateConnectionAuthRequestParameters object that contains the authorization parameters to
        use to authorize with the endpoint.public CreateConnectionAuthRequestParameters getAuthParameters()
 A CreateConnectionAuthRequestParameters object that contains the authorization parameters to use to
 authorize with the endpoint.
 
CreateConnectionAuthRequestParameters object that contains the authorization parameters to
         use to authorize with the endpoint.public CreateConnectionRequest withAuthParameters(CreateConnectionAuthRequestParameters authParameters)
 A CreateConnectionAuthRequestParameters object that contains the authorization parameters to use to
 authorize with the endpoint.
 
authParameters - A CreateConnectionAuthRequestParameters object that contains the authorization parameters to
        use to authorize with the endpoint.public String toString()
toString in class ObjectObject.toString()public CreateConnectionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()