@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDatabasesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| GetDatabasesRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| GetDatabasesRequest | 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 from which to retrieve  Databases. | 
| Integer | getMaxResults()
 The maximum number of databases to return in one response. | 
| String | getNextToken()
 A continuation token, if this is a continuation call. | 
| String | getResourceShareType()
 Allows you to specify that you want to list the databases shared with your account. | 
| int | hashCode() | 
| void | setCatalogId(String catalogId)
 The ID of the Data Catalog from which to retrieve  Databases. | 
| void | setMaxResults(Integer maxResults)
 The maximum number of databases to return in one response. | 
| void | setNextToken(String nextToken)
 A continuation token, if this is a continuation call. | 
| void | setResourceShareType(String resourceShareType)
 Allows you to specify that you want to list the databases shared with your account. | 
| String | toString()Returns a string representation of this object. | 
| GetDatabasesRequest | withCatalogId(String catalogId)
 The ID of the Data Catalog from which to retrieve  Databases. | 
| GetDatabasesRequest | withMaxResults(Integer maxResults)
 The maximum number of databases to return in one response. | 
| GetDatabasesRequest | withNextToken(String nextToken)
 A continuation token, if this is a continuation call. | 
| GetDatabasesRequest | withResourceShareType(ResourceShareType resourceShareType)
 Allows you to specify that you want to list the databases shared with your account. | 
| GetDatabasesRequest | withResourceShareType(String resourceShareType)
 Allows you to specify that you want to list the databases shared with your account. | 
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 setCatalogId(String catalogId)
 The ID of the Data Catalog from which to retrieve Databases. If none is provided, the AWS account ID
 is used by default.
 
catalogId - The ID of the Data Catalog from which to retrieve Databases. If none is provided, the AWS
        account ID is used by default.public String getCatalogId()
 The ID of the Data Catalog from which to retrieve Databases. If none is provided, the AWS account ID
 is used by default.
 
Databases. If none is provided, the AWS
         account ID is used by default.public GetDatabasesRequest withCatalogId(String catalogId)
 The ID of the Data Catalog from which to retrieve Databases. If none is provided, the AWS account ID
 is used by default.
 
catalogId - The ID of the Data Catalog from which to retrieve Databases. If none is provided, the AWS
        account ID is used by default.public void setNextToken(String nextToken)
A continuation token, if this is a continuation call.
nextToken - A continuation token, if this is a continuation call.public String getNextToken()
A continuation token, if this is a continuation call.
public GetDatabasesRequest withNextToken(String nextToken)
A continuation token, if this is a continuation call.
nextToken - A continuation token, if this is a continuation call.public void setMaxResults(Integer maxResults)
The maximum number of databases to return in one response.
maxResults - The maximum number of databases to return in one response.public Integer getMaxResults()
The maximum number of databases to return in one response.
public GetDatabasesRequest withMaxResults(Integer maxResults)
The maximum number of databases to return in one response.
maxResults - The maximum number of databases to return in one response.public void setResourceShareType(String resourceShareType)
 Allows you to specify that you want to list the databases shared with your account. The allowable values are
 FOREIGN or ALL.
 
 If set to FOREIGN, will list the databases shared with your account.
 
 If set to ALL, will list the databases shared with your account, as well as the databases in yor
 local account.
 
resourceShareType - Allows you to specify that you want to list the databases shared with your account. The allowable values
        are FOREIGN or ALL. 
        
        If set to FOREIGN, will list the databases shared with your account.
        
        If set to ALL, will list the databases shared with your account, as well as the databases in
        yor local account.
        
ResourceShareTypepublic String getResourceShareType()
 Allows you to specify that you want to list the databases shared with your account. The allowable values are
 FOREIGN or ALL.
 
 If set to FOREIGN, will list the databases shared with your account.
 
 If set to ALL, will list the databases shared with your account, as well as the databases in yor
 local account.
 
FOREIGN or ALL. 
         
         If set to FOREIGN, will list the databases shared with your account.
         
         If set to ALL, will list the databases shared with your account, as well as the databases in
         yor local account.
         
ResourceShareTypepublic GetDatabasesRequest withResourceShareType(String resourceShareType)
 Allows you to specify that you want to list the databases shared with your account. The allowable values are
 FOREIGN or ALL.
 
 If set to FOREIGN, will list the databases shared with your account.
 
 If set to ALL, will list the databases shared with your account, as well as the databases in yor
 local account.
 
resourceShareType - Allows you to specify that you want to list the databases shared with your account. The allowable values
        are FOREIGN or ALL. 
        
        If set to FOREIGN, will list the databases shared with your account.
        
        If set to ALL, will list the databases shared with your account, as well as the databases in
        yor local account.
        
ResourceShareTypepublic GetDatabasesRequest withResourceShareType(ResourceShareType resourceShareType)
 Allows you to specify that you want to list the databases shared with your account. The allowable values are
 FOREIGN or ALL.
 
 If set to FOREIGN, will list the databases shared with your account.
 
 If set to ALL, will list the databases shared with your account, as well as the databases in yor
 local account.
 
resourceShareType - Allows you to specify that you want to list the databases shared with your account. The allowable values
        are FOREIGN or ALL. 
        
        If set to FOREIGN, will list the databases shared with your account.
        
        If set to ALL, will list the databases shared with your account, as well as the databases in
        yor local account.
        
ResourceShareTypepublic String toString()
toString in class ObjectObject.toString()public GetDatabasesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()