@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PrepareQueryResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PrepareQueryResult() |
Modifier and Type | Method and Description |
---|---|
PrepareQueryResult |
clone() |
boolean |
equals(Object obj) |
List<SelectColumn> |
getColumns()
A list of SELECT clause columns of the submitted query string.
|
List<ParameterMapping> |
getParameters()
A list of parameters used in the submitted query string.
|
String |
getQueryString()
The query string that you want prepare.
|
int |
hashCode() |
void |
setColumns(Collection<SelectColumn> columns)
A list of SELECT clause columns of the submitted query string.
|
void |
setParameters(Collection<ParameterMapping> parameters)
A list of parameters used in the submitted query string.
|
void |
setQueryString(String queryString)
The query string that you want prepare.
|
String |
toString()
Returns a string representation of this object.
|
PrepareQueryResult |
withColumns(Collection<SelectColumn> columns)
A list of SELECT clause columns of the submitted query string.
|
PrepareQueryResult |
withColumns(SelectColumn... columns)
A list of SELECT clause columns of the submitted query string.
|
PrepareQueryResult |
withParameters(Collection<ParameterMapping> parameters)
A list of parameters used in the submitted query string.
|
PrepareQueryResult |
withParameters(ParameterMapping... parameters)
A list of parameters used in the submitted query string.
|
PrepareQueryResult |
withQueryString(String queryString)
The query string that you want prepare.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setQueryString(String queryString)
The query string that you want prepare.
queryString
- The query string that you want prepare.public String getQueryString()
The query string that you want prepare.
public PrepareQueryResult withQueryString(String queryString)
The query string that you want prepare.
queryString
- The query string that you want prepare.public List<SelectColumn> getColumns()
A list of SELECT clause columns of the submitted query string.
public void setColumns(Collection<SelectColumn> columns)
A list of SELECT clause columns of the submitted query string.
columns
- A list of SELECT clause columns of the submitted query string.public PrepareQueryResult withColumns(SelectColumn... columns)
A list of SELECT clause columns of the submitted query string.
NOTE: This method appends the values to the existing list (if any). Use
setColumns(java.util.Collection)
or withColumns(java.util.Collection)
if you want to override
the existing values.
columns
- A list of SELECT clause columns of the submitted query string.public PrepareQueryResult withColumns(Collection<SelectColumn> columns)
A list of SELECT clause columns of the submitted query string.
columns
- A list of SELECT clause columns of the submitted query string.public List<ParameterMapping> getParameters()
A list of parameters used in the submitted query string.
public void setParameters(Collection<ParameterMapping> parameters)
A list of parameters used in the submitted query string.
parameters
- A list of parameters used in the submitted query string.public PrepareQueryResult withParameters(ParameterMapping... parameters)
A list of parameters used in the submitted query string.
NOTE: This method appends the values to the existing list (if any). Use
setParameters(java.util.Collection)
or withParameters(java.util.Collection)
if you want to
override the existing values.
parameters
- A list of parameters used in the submitted query string.public PrepareQueryResult withParameters(Collection<ParameterMapping> parameters)
A list of parameters used in the submitted query string.
parameters
- A list of parameters used in the submitted query string.public String toString()
toString
in class Object
Object.toString()
public PrepareQueryResult clone()