@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExecuteSqlRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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()
ARN of the db credentials in AWS Secret Store or the friendly secret name
|
String |
getDatabase()
Target DB name
|
String |
getDbClusterOrInstanceArn()
ARN of the target db cluster or instance
|
String |
getSchema()
Target Schema name
|
String |
getSqlStatements()
SQL statement(s) to be executed.
|
int |
hashCode() |
void |
setAwsSecretStoreArn(String awsSecretStoreArn)
ARN of the db credentials in AWS Secret Store or the friendly secret name
|
void |
setDatabase(String database)
Target DB name
|
void |
setDbClusterOrInstanceArn(String dbClusterOrInstanceArn)
ARN of the target db cluster or instance
|
void |
setSchema(String schema)
Target Schema name
|
void |
setSqlStatements(String sqlStatements)
SQL statement(s) to be executed.
|
String |
toString()
Returns a string representation of this object.
|
ExecuteSqlRequest |
withAwsSecretStoreArn(String awsSecretStoreArn)
ARN of the db credentials in AWS Secret Store or the friendly secret name
|
ExecuteSqlRequest |
withDatabase(String database)
Target DB name
|
ExecuteSqlRequest |
withDbClusterOrInstanceArn(String dbClusterOrInstanceArn)
ARN of the target db cluster or instance
|
ExecuteSqlRequest |
withSchema(String schema)
Target Schema name
|
ExecuteSqlRequest |
withSqlStatements(String sqlStatements)
SQL statement(s) to be executed.
|
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 setAwsSecretStoreArn(String awsSecretStoreArn)
awsSecretStoreArn
- ARN of the db credentials in AWS Secret Store or the friendly secret namepublic String getAwsSecretStoreArn()
public ExecuteSqlRequest withAwsSecretStoreArn(String awsSecretStoreArn)
awsSecretStoreArn
- ARN of the db credentials in AWS Secret Store or the friendly secret namepublic void setDatabase(String database)
database
- Target DB namepublic String getDatabase()
public ExecuteSqlRequest withDatabase(String database)
database
- Target DB namepublic void setDbClusterOrInstanceArn(String dbClusterOrInstanceArn)
dbClusterOrInstanceArn
- ARN of the target db cluster or instancepublic String getDbClusterOrInstanceArn()
public ExecuteSqlRequest withDbClusterOrInstanceArn(String dbClusterOrInstanceArn)
dbClusterOrInstanceArn
- ARN of the target db cluster or instancepublic void setSchema(String schema)
schema
- Target Schema namepublic String getSchema()
public ExecuteSqlRequest withSchema(String schema)
schema
- Target Schema namepublic void setSqlStatements(String sqlStatements)
sqlStatements
- SQL statement(s) to be executed. Statements can be chained by using semicolonspublic String getSqlStatements()
public ExecuteSqlRequest withSqlStatements(String sqlStatements)
sqlStatements
- SQL statement(s) to be executed. Statements can be chained by using semicolonspublic String toString()
toString
in class Object
Object.toString()
public ExecuteSqlRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.