@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExecuteSqlRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request parameters represent the input of a request to run one or more SQL statements.
NOOP
Constructor and Description |
---|
ExecuteSqlRequest() |
Modifier and Type | Method and Description |
---|---|
ExecuteSqlRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAwsSecretStoreArn()
The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster.
|
String |
getDatabase()
The name of the database.
|
String |
getDbClusterOrInstanceArn()
The ARN of the Aurora Serverless DB cluster.
|
String |
getSchema()
The name of the database schema.
|
String |
getSqlStatements()
One or more SQL statements to run on the DB cluster.
|
int |
hashCode() |
void |
setAwsSecretStoreArn(String awsSecretStoreArn)
The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster.
|
void |
setDatabase(String database)
The name of the database.
|
void |
setDbClusterOrInstanceArn(String dbClusterOrInstanceArn)
The ARN of the Aurora Serverless DB cluster.
|
void |
setSchema(String schema)
The name of the database schema.
|
void |
setSqlStatements(String sqlStatements)
One or more SQL statements to run on the DB cluster.
|
String |
toString()
Returns a string representation of this object.
|
ExecuteSqlRequest |
withAwsSecretStoreArn(String awsSecretStoreArn)
The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster.
|
ExecuteSqlRequest |
withDatabase(String database)
The name of the database.
|
ExecuteSqlRequest |
withDbClusterOrInstanceArn(String dbClusterOrInstanceArn)
The ARN of the Aurora Serverless DB cluster.
|
ExecuteSqlRequest |
withSchema(String schema)
The name of the database schema.
|
ExecuteSqlRequest |
withSqlStatements(String sqlStatements)
One or more SQL statements to run on the DB cluster.
|
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 setDbClusterOrInstanceArn(String dbClusterOrInstanceArn)
The ARN of the Aurora Serverless DB cluster.
dbClusterOrInstanceArn
- The ARN of the Aurora Serverless DB cluster.public String getDbClusterOrInstanceArn()
The ARN of the Aurora Serverless DB cluster.
public ExecuteSqlRequest withDbClusterOrInstanceArn(String dbClusterOrInstanceArn)
The ARN of the Aurora Serverless DB cluster.
dbClusterOrInstanceArn
- The ARN of the Aurora Serverless DB cluster.public void setAwsSecretStoreArn(String awsSecretStoreArn)
The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in the secret.
For information about creating the secret, see Create a database secret.
awsSecretStoreArn
- The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster. Enter the database
user name and password for the credentials in the secret.
For information about creating the secret, see Create a database secret.
public String getAwsSecretStoreArn()
The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in the secret.
For information about creating the secret, see Create a database secret.
For information about creating the secret, see Create a database secret.
public ExecuteSqlRequest withAwsSecretStoreArn(String awsSecretStoreArn)
The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in the secret.
For information about creating the secret, see Create a database secret.
awsSecretStoreArn
- The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster. Enter the database
user name and password for the credentials in the secret.
For information about creating the secret, see Create a database secret.
public void setSqlStatements(String sqlStatements)
One or more SQL statements to run on the DB cluster.
You can separate SQL statements from each other with a semicolon (;). Any valid SQL statement is permitted, including data definition, data manipulation, and commit statements.
sqlStatements
- One or more SQL statements to run on the DB cluster.
You can separate SQL statements from each other with a semicolon (;). Any valid SQL statement is permitted, including data definition, data manipulation, and commit statements.
public String getSqlStatements()
One or more SQL statements to run on the DB cluster.
You can separate SQL statements from each other with a semicolon (;). Any valid SQL statement is permitted, including data definition, data manipulation, and commit statements.
You can separate SQL statements from each other with a semicolon (;). Any valid SQL statement is permitted, including data definition, data manipulation, and commit statements.
public ExecuteSqlRequest withSqlStatements(String sqlStatements)
One or more SQL statements to run on the DB cluster.
You can separate SQL statements from each other with a semicolon (;). Any valid SQL statement is permitted, including data definition, data manipulation, and commit statements.
sqlStatements
- One or more SQL statements to run on the DB cluster.
You can separate SQL statements from each other with a semicolon (;). Any valid SQL statement is permitted, including data definition, data manipulation, and commit statements.
public void setDatabase(String database)
The name of the database.
database
- The name of the database.public String getDatabase()
The name of the database.
public ExecuteSqlRequest withDatabase(String database)
The name of the database.
database
- The name of the database.public void setSchema(String schema)
The name of the database schema.
schema
- The name of the database schema.public String getSchema()
The name of the database schema.
public ExecuteSqlRequest withSchema(String schema)
The name of the database schema.
schema
- The name of the database schema.public String toString()
toString
in class Object
Object.toString()
public ExecuteSqlRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()