@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetConnectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetConnectionRequest() |
Modifier and Type | Method and Description |
---|---|
GetConnectionRequest |
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.
|
Boolean |
getHidePassword()
Allows you to retrieve the connection metadata without returning the password.
|
String |
getName()
The name of the connection definition to retrieve.
|
int |
hashCode() |
Boolean |
isHidePassword()
Allows you to retrieve the connection metadata without returning the password.
|
void |
setCatalogId(String catalogId)
The ID of the Data Catalog in which the connection resides.
|
void |
setHidePassword(Boolean hidePassword)
Allows you to retrieve the connection metadata without returning the password.
|
void |
setName(String name)
The name of the connection definition to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
GetConnectionRequest |
withCatalogId(String catalogId)
The ID of the Data Catalog in which the connection resides.
|
GetConnectionRequest |
withHidePassword(Boolean hidePassword)
Allows you to retrieve the connection metadata without returning the password.
|
GetConnectionRequest |
withName(String name)
The name of the connection definition to retrieve.
|
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 GetConnectionRequest 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 retrieve.
name
- The name of the connection definition to retrieve.public String getName()
The name of the connection definition to retrieve.
public GetConnectionRequest withName(String name)
The name of the connection definition to retrieve.
name
- The name of the connection definition to retrieve.public void setHidePassword(Boolean hidePassword)
Allows you to retrieve the connection metadata without returning the password. For instance, the Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.
hidePassword
- Allows you to retrieve the connection metadata without returning the password. For instance, the Glue
console uses this flag to retrieve the connection, and does not display the password. Set this parameter
when the caller might not have permission to use the KMS key to decrypt the password, but it does have
permission to access the rest of the connection properties.public Boolean getHidePassword()
Allows you to retrieve the connection metadata without returning the password. For instance, the Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.
public GetConnectionRequest withHidePassword(Boolean hidePassword)
Allows you to retrieve the connection metadata without returning the password. For instance, the Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.
hidePassword
- Allows you to retrieve the connection metadata without returning the password. For instance, the Glue
console uses this flag to retrieve the connection, and does not display the password. Set this parameter
when the caller might not have permission to use the KMS key to decrypt the password, but it does have
permission to access the rest of the connection properties.public Boolean isHidePassword()
Allows you to retrieve the connection metadata without returning the password. For instance, the Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.
public String toString()
toString
in class Object
Object.toString()
public GetConnectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()