@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDatabasesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListDatabasesRequest() |
Modifier and Type | Method and Description |
---|---|
ListDatabasesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClusterIdentifier()
The cluster identifier.
|
String |
getDatabase()
The name of the database.
|
String |
getDbUser()
The database user name.
|
Integer |
getMaxResults()
The maximum number of databases to return in the response.
|
String |
getNextToken()
A value that indicates the starting point for the next set of response records in a subsequent request.
|
String |
getSecretArn()
The name or ARN of the secret that enables access to the database.
|
int |
hashCode() |
void |
setClusterIdentifier(String clusterIdentifier)
The cluster identifier.
|
void |
setDatabase(String database)
The name of the database.
|
void |
setDbUser(String dbUser)
The database user name.
|
void |
setMaxResults(Integer maxResults)
The maximum number of databases to return in the response.
|
void |
setNextToken(String nextToken)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
void |
setSecretArn(String secretArn)
The name or ARN of the secret that enables access to the database.
|
String |
toString()
Returns a string representation of this object.
|
ListDatabasesRequest |
withClusterIdentifier(String clusterIdentifier)
The cluster identifier.
|
ListDatabasesRequest |
withDatabase(String database)
The name of the database.
|
ListDatabasesRequest |
withDbUser(String dbUser)
The database user name.
|
ListDatabasesRequest |
withMaxResults(Integer maxResults)
The maximum number of databases to return in the response.
|
ListDatabasesRequest |
withNextToken(String nextToken)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
ListDatabasesRequest |
withSecretArn(String secretArn)
The name or ARN of the secret that enables access to the database.
|
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 setClusterIdentifier(String clusterIdentifier)
The cluster identifier. This parameter is required when authenticating using either AWS Secrets Manager or temporary credentials.
clusterIdentifier
- The cluster identifier. This parameter is required when authenticating using either AWS Secrets Manager or
temporary credentials.public String getClusterIdentifier()
The cluster identifier. This parameter is required when authenticating using either AWS Secrets Manager or temporary credentials.
public ListDatabasesRequest withClusterIdentifier(String clusterIdentifier)
The cluster identifier. This parameter is required when authenticating using either AWS Secrets Manager or temporary credentials.
clusterIdentifier
- The cluster identifier. This parameter is required when authenticating using either AWS Secrets Manager or
temporary credentials.public void setDatabase(String database)
The name of the database. This parameter is required when authenticating using temporary credentials.
database
- The name of the database. This parameter is required when authenticating using temporary credentials.public String getDatabase()
The name of the database. This parameter is required when authenticating using temporary credentials.
public ListDatabasesRequest withDatabase(String database)
The name of the database. This parameter is required when authenticating using temporary credentials.
database
- The name of the database. This parameter is required when authenticating using temporary credentials.public void setDbUser(String dbUser)
The database user name. This parameter is required when authenticating using temporary credentials.
dbUser
- The database user name. This parameter is required when authenticating using temporary credentials.public String getDbUser()
The database user name. This parameter is required when authenticating using temporary credentials.
public ListDatabasesRequest withDbUser(String dbUser)
The database user name. This parameter is required when authenticating using temporary credentials.
dbUser
- The database user name. This parameter is required when authenticating using temporary credentials.public void setMaxResults(Integer maxResults)
The maximum number of databases to return in the response. If more databases exist than fit in one response, then
NextToken
is returned to page through the results.
maxResults
- The maximum number of databases to return in the response. If more databases exist than fit in one
response, then NextToken
is returned to page through the results.public Integer getMaxResults()
The maximum number of databases to return in the response. If more databases exist than fit in one response, then
NextToken
is returned to page through the results.
NextToken
is returned to page through the results.public ListDatabasesRequest withMaxResults(Integer maxResults)
The maximum number of databases to return in the response. If more databases exist than fit in one response, then
NextToken
is returned to page through the results.
maxResults
- The maximum number of databases to return in the response. If more databases exist than fit in one
response, then NextToken
is returned to page through the results.public void setNextToken(String nextToken)
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
nextToken
- A value that indicates the starting point for the next set of response records in a subsequent request. If
a value is returned in a response, you can retrieve the next set of records by providing this returned
NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty,
all response records have been retrieved for the request.public String getNextToken()
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
public ListDatabasesRequest withNextToken(String nextToken)
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
nextToken
- A value that indicates the starting point for the next set of response records in a subsequent request. If
a value is returned in a response, you can retrieve the next set of records by providing this returned
NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty,
all response records have been retrieved for the request.public void setSecretArn(String secretArn)
The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using AWS Secrets Manager.
secretArn
- The name or ARN of the secret that enables access to the database. This parameter is required when
authenticating using AWS Secrets Manager.public String getSecretArn()
The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using AWS Secrets Manager.
public ListDatabasesRequest withSecretArn(String secretArn)
The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using AWS Secrets Manager.
secretArn
- The name or ARN of the secret that enables access to the database. This parameter is required when
authenticating using AWS Secrets Manager.public String toString()
toString
in class Object
Object.toString()
public ListDatabasesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()