@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) |
List<String> |
getAttributesToGet()
Specifies the database fields returned by the
GetDatabases call. |
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 |
setAttributesToGet(Collection<String> attributesToGet)
Specifies the database fields returned by the
GetDatabases call. |
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 |
withAttributesToGet(Collection<String> attributesToGet)
Specifies the database fields returned by the
GetDatabases call. |
GetDatabasesRequest |
withAttributesToGet(DatabaseAttributes... attributesToGet)
Specifies the database fields returned by the
GetDatabases call. |
GetDatabasesRequest |
withAttributesToGet(String... attributesToGet)
Specifies the database fields returned by the
GetDatabases call. |
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, withSdkRequestTimeout
public void setCatalogId(String catalogId)
The ID of the Data Catalog from which to retrieve Databases
. If none is provided, the Amazon Web
Services account ID is used by default.
catalogId
- The ID of the Data Catalog from which to retrieve Databases
. If none is provided, the Amazon
Web Services 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 Amazon Web
Services account ID is used by default.
Databases
. If none is provided, the Amazon
Web Services 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 Amazon Web
Services account ID is used by default.
catalogId
- The ID of the Data Catalog from which to retrieve Databases
. If none is provided, the Amazon
Web Services 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
FEDERATED
, FOREIGN
or ALL
.
If set to FEDERATED
, will list the federated databases (referencing an external entity) shared with
your account.
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 FEDERATED
, FOREIGN
or ALL
.
If set to FEDERATED
, will list the federated databases (referencing an external entity)
shared with your account.
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
public String getResourceShareType()
Allows you to specify that you want to list the databases shared with your account. The allowable values are
FEDERATED
, FOREIGN
or ALL
.
If set to FEDERATED
, will list the federated databases (referencing an external entity) shared with
your account.
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.
FEDERATED
, FOREIGN
or ALL
.
If set to FEDERATED
, will list the federated databases (referencing an external entity)
shared with your account.
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
public GetDatabasesRequest withResourceShareType(String resourceShareType)
Allows you to specify that you want to list the databases shared with your account. The allowable values are
FEDERATED
, FOREIGN
or ALL
.
If set to FEDERATED
, will list the federated databases (referencing an external entity) shared with
your account.
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 FEDERATED
, FOREIGN
or ALL
.
If set to FEDERATED
, will list the federated databases (referencing an external entity)
shared with your account.
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
public GetDatabasesRequest withResourceShareType(ResourceShareType resourceShareType)
Allows you to specify that you want to list the databases shared with your account. The allowable values are
FEDERATED
, FOREIGN
or ALL
.
If set to FEDERATED
, will list the federated databases (referencing an external entity) shared with
your account.
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 FEDERATED
, FOREIGN
or ALL
.
If set to FEDERATED
, will list the federated databases (referencing an external entity)
shared with your account.
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
public List<String> getAttributesToGet()
Specifies the database fields returned by the GetDatabases
call. This parameter doesn’t accept an
empty list. The request must include the NAME
.
GetDatabases
call. This parameter doesn’t
accept an empty list. The request must include the NAME
.DatabaseAttributes
public void setAttributesToGet(Collection<String> attributesToGet)
Specifies the database fields returned by the GetDatabases
call. This parameter doesn’t accept an
empty list. The request must include the NAME
.
attributesToGet
- Specifies the database fields returned by the GetDatabases
call. This parameter doesn’t
accept an empty list. The request must include the NAME
.DatabaseAttributes
public GetDatabasesRequest withAttributesToGet(String... attributesToGet)
Specifies the database fields returned by the GetDatabases
call. This parameter doesn’t accept an
empty list. The request must include the NAME
.
NOTE: This method appends the values to the existing list (if any). Use
setAttributesToGet(java.util.Collection)
or withAttributesToGet(java.util.Collection)
if you
want to override the existing values.
attributesToGet
- Specifies the database fields returned by the GetDatabases
call. This parameter doesn’t
accept an empty list. The request must include the NAME
.DatabaseAttributes
public GetDatabasesRequest withAttributesToGet(Collection<String> attributesToGet)
Specifies the database fields returned by the GetDatabases
call. This parameter doesn’t accept an
empty list. The request must include the NAME
.
attributesToGet
- Specifies the database fields returned by the GetDatabases
call. This parameter doesn’t
accept an empty list. The request must include the NAME
.DatabaseAttributes
public GetDatabasesRequest withAttributesToGet(DatabaseAttributes... attributesToGet)
Specifies the database fields returned by the GetDatabases
call. This parameter doesn’t accept an
empty list. The request must include the NAME
.
attributesToGet
- Specifies the database fields returned by the GetDatabases
call. This parameter doesn’t
accept an empty list. The request must include the NAME
.DatabaseAttributes
public String toString()
toString
in class Object
Object.toString()
public GetDatabasesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()