@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 |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateConnectionRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateConnectionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCatalogId()
The ID of the Data Catalog in which to create the connection.
|
ConnectionInput |
getConnectionInput()
A
ConnectionInput object defining the connection to create. |
Map<String,String> |
getTags()
The tags you assign to the connection.
|
int |
hashCode() |
void |
setCatalogId(String catalogId)
The ID of the Data Catalog in which to create the connection.
|
void |
setConnectionInput(ConnectionInput connectionInput)
A
ConnectionInput object defining the connection to create. |
void |
setTags(Map<String,String> tags)
The tags you assign to the connection.
|
String |
toString()
Returns a string representation of this object.
|
CreateConnectionRequest |
withCatalogId(String catalogId)
The ID of the Data Catalog in which to create the connection.
|
CreateConnectionRequest |
withConnectionInput(ConnectionInput connectionInput)
A
ConnectionInput object defining the connection to create. |
CreateConnectionRequest |
withTags(Map<String,String> tags)
The tags you assign to the connection.
|
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 setCatalogId(String catalogId)
The ID of the Data Catalog in which to create the connection. If none is provided, the Amazon Web Services account ID is used by default.
catalogId
- The ID of the Data Catalog in which to create the connection. If none is provided, the Amazon Web Services
account ID is used by default.public String getCatalogId()
The ID of the Data Catalog in which to create the connection. If none is provided, the Amazon Web Services account ID is used by default.
public CreateConnectionRequest withCatalogId(String catalogId)
The ID of the Data Catalog in which to create the connection. If none is provided, the Amazon Web Services account ID is used by default.
catalogId
- The ID of the Data Catalog in which to create the connection. If none is provided, the Amazon Web Services
account ID is used by default.public void setConnectionInput(ConnectionInput connectionInput)
A ConnectionInput
object defining the connection to create.
connectionInput
- A ConnectionInput
object defining the connection to create.public ConnectionInput getConnectionInput()
A ConnectionInput
object defining the connection to create.
ConnectionInput
object defining the connection to create.public CreateConnectionRequest withConnectionInput(ConnectionInput connectionInput)
A ConnectionInput
object defining the connection to create.
connectionInput
- A ConnectionInput
object defining the connection to create.public Map<String,String> getTags()
The tags you assign to the connection.
public void setTags(Map<String,String> tags)
The tags you assign to the connection.
tags
- The tags you assign to the connection.public CreateConnectionRequest withTags(Map<String,String> tags)
The tags you assign to the connection.
tags
- The tags you assign to the connection.public CreateConnectionRequest addTagsEntry(String key, String value)
public CreateConnectionRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateConnectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()