@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExecuteSqlResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The response elements represent the output of a request to run one or more SQL statements.
Constructor and Description |
---|
ExecuteSqlResult() |
Modifier and Type | Method and Description |
---|---|
ExecuteSqlResult |
clone() |
boolean |
equals(Object obj) |
List<SqlStatementResult> |
getSqlStatementResults()
The results of the SQL statement or statements.
|
int |
hashCode() |
void |
setSqlStatementResults(Collection<SqlStatementResult> sqlStatementResults)
The results of the SQL statement or statements.
|
String |
toString()
Returns a string representation of this object.
|
ExecuteSqlResult |
withSqlStatementResults(Collection<SqlStatementResult> sqlStatementResults)
The results of the SQL statement or statements.
|
ExecuteSqlResult |
withSqlStatementResults(SqlStatementResult... sqlStatementResults)
The results of the SQL statement or statements.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SqlStatementResult> getSqlStatementResults()
The results of the SQL statement or statements.
public void setSqlStatementResults(Collection<SqlStatementResult> sqlStatementResults)
The results of the SQL statement or statements.
sqlStatementResults
- The results of the SQL statement or statements.public ExecuteSqlResult withSqlStatementResults(SqlStatementResult... sqlStatementResults)
The results of the SQL statement or statements.
NOTE: This method appends the values to the existing list (if any). Use
setSqlStatementResults(java.util.Collection)
or withSqlStatementResults(java.util.Collection)
if you want to override the existing values.
sqlStatementResults
- The results of the SQL statement or statements.public ExecuteSqlResult withSqlStatementResults(Collection<SqlStatementResult> sqlStatementResults)
The results of the SQL statement or statements.
sqlStatementResults
- The results of the SQL statement or statements.public String toString()
toString
in class Object
Object.toString()
public ExecuteSqlResult clone()