@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.
|
String |
getWorkgroupName()
The serverless workgroup name or Amazon Resource Name (ARN).
|
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.
|
void |
setWorkgroupName(String workgroupName)
The serverless workgroup name or Amazon Resource Name (ARN).
|
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.
|
ListDatabasesRequest |
withWorkgroupName(String workgroupName)
The serverless workgroup name or Amazon Resource Name (ARN).
|
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 connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.
clusterIdentifier
- The cluster identifier. This parameter is required when connecting to a cluster and authenticating using
either Secrets Manager or temporary credentials.public String getClusterIdentifier()
The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.
public ListDatabasesRequest withClusterIdentifier(String clusterIdentifier)
The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.
clusterIdentifier
- The cluster identifier. This parameter is required when connecting to a cluster and authenticating using
either Secrets Manager or temporary credentials.public void setDatabase(String database)
The name of the database. This parameter is required when authenticating using either Secrets Manager or temporary credentials.
database
- The name of the database. This parameter is required when authenticating using either Secrets Manager or
temporary credentials.public String getDatabase()
The name of the database. This parameter is required when authenticating using either Secrets Manager or temporary credentials.
public ListDatabasesRequest withDatabase(String database)
The name of the database. This parameter is required when authenticating using either Secrets Manager or temporary credentials.
database
- The name of the database. This parameter is required when authenticating using either Secrets Manager or
temporary credentials.public void setDbUser(String dbUser)
The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials.
dbUser
- The database user name. This parameter is required when connecting to a cluster as a database user and
authenticating using temporary credentials.public String getDbUser()
The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials.
public ListDatabasesRequest withDbUser(String dbUser)
The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials.
dbUser
- The database user name. This parameter is required when connecting to a cluster as a database user and
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 Secrets Manager.
secretArn
- The name or ARN of the secret that enables access to the database. This parameter is required when
authenticating using 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 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 Secrets Manager.
secretArn
- The name or ARN of the secret that enables access to the database. This parameter is required when
authenticating using Secrets Manager.public void setWorkgroupName(String workgroupName)
The serverless workgroup name or Amazon Resource Name (ARN). This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.
workgroupName
- The serverless workgroup name or Amazon Resource Name (ARN). This parameter is required when connecting to
a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.public String getWorkgroupName()
The serverless workgroup name or Amazon Resource Name (ARN). This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.
public ListDatabasesRequest withWorkgroupName(String workgroupName)
The serverless workgroup name or Amazon Resource Name (ARN). This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.
workgroupName
- The serverless workgroup name or Amazon Resource Name (ARN). This parameter is required when connecting to
a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.public String toString()
toString
in class Object
Object.toString()
public ListDatabasesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()