@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
CreateConnectionAuthRequestParameters object 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
CreateConnectionAuthRequestParameters object 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
CreateConnectionAuthRequestParameters object 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, withSdkRequestTimeout
public 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.
authorizationType
- The type of authorization to use for the connection.ConnectionAuthorizationType
public String getAuthorizationType()
The type of authorization to use for the connection.
ConnectionAuthorizationType
public CreateConnectionRequest withAuthorizationType(String authorizationType)
The type of authorization to use for the connection.
authorizationType
- The type of authorization to use for the connection.ConnectionAuthorizationType
public CreateConnectionRequest withAuthorizationType(ConnectionAuthorizationType authorizationType)
The type of authorization to use for the connection.
authorizationType
- The type of authorization to use for the connection.ConnectionAuthorizationType
public 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 Object
Object.toString()
public CreateConnectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()