@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSchemasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListSchemasRequest() |
Modifier and Type | Method and Description |
---|---|
ListSchemasRequest |
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 |
getConnectedDatabase()
A database name.
|
String |
getDatabase()
The name of the database that contains the schemas to list.
|
String |
getDbUser()
The database user name.
|
Integer |
getMaxResults()
The maximum number of schemas 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 |
getSchemaPattern()
A pattern to filter results by schema name.
|
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 |
setConnectedDatabase(String connectedDatabase)
A database name.
|
void |
setDatabase(String database)
The name of the database that contains the schemas to list.
|
void |
setDbUser(String dbUser)
The database user name.
|
void |
setMaxResults(Integer maxResults)
The maximum number of schemas 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 |
setSchemaPattern(String schemaPattern)
A pattern to filter results by schema name.
|
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.
|
ListSchemasRequest |
withClusterIdentifier(String clusterIdentifier)
The cluster identifier.
|
ListSchemasRequest |
withConnectedDatabase(String connectedDatabase)
A database name.
|
ListSchemasRequest |
withDatabase(String database)
The name of the database that contains the schemas to list.
|
ListSchemasRequest |
withDbUser(String dbUser)
The database user name.
|
ListSchemasRequest |
withMaxResults(Integer maxResults)
The maximum number of schemas to return in the response.
|
ListSchemasRequest |
withNextToken(String nextToken)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
ListSchemasRequest |
withSchemaPattern(String schemaPattern)
A pattern to filter results by schema name.
|
ListSchemasRequest |
withSecretArn(String secretArn)
The name or ARN of the secret that enables access to the database.
|
ListSchemasRequest |
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 ListSchemasRequest 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 setConnectedDatabase(String connectedDatabase)
A database name. The connected database is specified when you connect with your authentication credentials.
connectedDatabase
- A database name. The connected database is specified when you connect with your authentication
credentials.public String getConnectedDatabase()
A database name. The connected database is specified when you connect with your authentication credentials.
public ListSchemasRequest withConnectedDatabase(String connectedDatabase)
A database name. The connected database is specified when you connect with your authentication credentials.
connectedDatabase
- A database name. The connected database is specified when you connect with your authentication
credentials.public void setDatabase(String database)
The name of the database that contains the schemas to list. If ConnectedDatabase
is not specified,
this is also the database to connect to with your authentication credentials.
database
- The name of the database that contains the schemas to list. If ConnectedDatabase
is not
specified, this is also the database to connect to with your authentication credentials.public String getDatabase()
The name of the database that contains the schemas to list. If ConnectedDatabase
is not specified,
this is also the database to connect to with your authentication credentials.
ConnectedDatabase
is not
specified, this is also the database to connect to with your authentication credentials.public ListSchemasRequest withDatabase(String database)
The name of the database that contains the schemas to list. If ConnectedDatabase
is not specified,
this is also the database to connect to with your authentication credentials.
database
- The name of the database that contains the schemas to list. If ConnectedDatabase
is not
specified, this is also the database to connect to with your authentication 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 ListSchemasRequest 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 schemas to return in the response. If more schemas exist than fit in one response, then
NextToken
is returned to page through the results.
maxResults
- The maximum number of schemas to return in the response. If more schemas exist than fit in one response,
then NextToken
is returned to page through the results.public Integer getMaxResults()
The maximum number of schemas to return in the response. If more schemas exist than fit in one response, then
NextToken
is returned to page through the results.
NextToken
is returned to page through the results.public ListSchemasRequest withMaxResults(Integer maxResults)
The maximum number of schemas to return in the response. If more schemas exist than fit in one response, then
NextToken
is returned to page through the results.
maxResults
- The maximum number of schemas to return in the response. If more schemas 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 ListSchemasRequest 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 setSchemaPattern(String schemaPattern)
A pattern to filter results by schema name. Within a schema pattern, "%" means match any substring of 0 or more characters and "_" means match any one character. Only schema name entries matching the search pattern are returned.
schemaPattern
- A pattern to filter results by schema name. Within a schema pattern, "%" means match any substring of 0 or
more characters and "_" means match any one character. Only schema name entries matching the search
pattern are returned.public String getSchemaPattern()
A pattern to filter results by schema name. Within a schema pattern, "%" means match any substring of 0 or more characters and "_" means match any one character. Only schema name entries matching the search pattern are returned.
public ListSchemasRequest withSchemaPattern(String schemaPattern)
A pattern to filter results by schema name. Within a schema pattern, "%" means match any substring of 0 or more characters and "_" means match any one character. Only schema name entries matching the search pattern are returned.
schemaPattern
- A pattern to filter results by schema name. Within a schema pattern, "%" means match any substring of 0 or
more characters and "_" means match any one character. Only schema name entries matching the search
pattern are returned.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 ListSchemasRequest 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 ListSchemasRequest 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 ListSchemasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()