@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateConnectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateConnectionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateConnectionRequest |
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 the connection resides.
|
ConnectionInput |
getConnectionInput()
A
ConnectionInput object that redefines the connection in question. |
String |
getName()
The name of the connection definition to update.
|
int |
hashCode() |
void |
setCatalogId(String catalogId)
The ID of the Data Catalog in which the connection resides.
|
void |
setConnectionInput(ConnectionInput connectionInput)
A
ConnectionInput object that redefines the connection in question. |
void |
setName(String name)
The name of the connection definition to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateConnectionRequest |
withCatalogId(String catalogId)
The ID of the Data Catalog in which the connection resides.
|
UpdateConnectionRequest |
withConnectionInput(ConnectionInput connectionInput)
A
ConnectionInput object that redefines the connection in question. |
UpdateConnectionRequest |
withName(String name)
The name of the connection definition to update.
|
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 the connection resides. If none is provided, the Amazon Web Services account ID is used by default.
catalogId
- The ID of the Data Catalog in which the connection resides. 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 the connection resides. If none is provided, the Amazon Web Services account ID is used by default.
public UpdateConnectionRequest withCatalogId(String catalogId)
The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services account ID is used by default.
catalogId
- The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services
account ID is used by default.public void setName(String name)
The name of the connection definition to update.
name
- The name of the connection definition to update.public String getName()
The name of the connection definition to update.
public UpdateConnectionRequest withName(String name)
The name of the connection definition to update.
name
- The name of the connection definition to update.public void setConnectionInput(ConnectionInput connectionInput)
A ConnectionInput
object that redefines the connection in question.
connectionInput
- A ConnectionInput
object that redefines the connection in question.public ConnectionInput getConnectionInput()
A ConnectionInput
object that redefines the connection in question.
ConnectionInput
object that redefines the connection in question.public UpdateConnectionRequest withConnectionInput(ConnectionInput connectionInput)
A ConnectionInput
object that redefines the connection in question.
connectionInput
- A ConnectionInput
object that redefines the connection in question.public String toString()
toString
in class Object
Object.toString()
public UpdateConnectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()