@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateNamedQueryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateNamedQueryRequest() |
Modifier and Type | Method and Description |
---|---|
CreateNamedQueryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once).
|
String |
getDatabase()
The database to which the query belongs.
|
String |
getDescription()
A brief explanation of the query.
|
String |
getName()
The plain language name for the query.
|
String |
getQueryString()
The text of the query itself.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once).
|
void |
setDatabase(String database)
The database to which the query belongs.
|
void |
setDescription(String description)
A brief explanation of the query.
|
void |
setName(String name)
The plain language name for the query.
|
void |
setQueryString(String queryString)
The text of the query itself.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateNamedQueryRequest |
withClientRequestToken(String clientRequestToken)
A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once).
|
CreateNamedQueryRequest |
withDatabase(String database)
The database to which the query belongs.
|
CreateNamedQueryRequest |
withDescription(String description)
A brief explanation of the query.
|
CreateNamedQueryRequest |
withName(String name)
The plain language name for the query.
|
CreateNamedQueryRequest |
withQueryString(String queryString)
The text of the query itself.
|
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 setName(String name)
The plain language name for the query.
name
- The plain language name for the query.public String getName()
The plain language name for the query.
public CreateNamedQueryRequest withName(String name)
The plain language name for the query.
name
- The plain language name for the query.public void setDescription(String description)
A brief explanation of the query.
description
- A brief explanation of the query.public String getDescription()
A brief explanation of the query.
public CreateNamedQueryRequest withDescription(String description)
A brief explanation of the query.
description
- A brief explanation of the query.public void setDatabase(String database)
The database to which the query belongs.
database
- The database to which the query belongs.public String getDatabase()
The database to which the query belongs.
public CreateNamedQueryRequest withDatabase(String database)
The database to which the query belongs.
database
- The database to which the query belongs.public void setQueryString(String queryString)
The text of the query itself. In other words, all query statements.
queryString
- The text of the query itself. In other words, all query statements.public String getQueryString()
The text of the query itself. In other words, all query statements.
public CreateNamedQueryRequest withQueryString(String queryString)
The text of the query itself. In other words, all query statements.
queryString
- The text of the query itself. In other words, all query statements.public void setClientRequestToken(String clientRequestToken)
A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once).
If another CreateNamedQuery
request is received, the same response is returned and another query is
not created. If a parameter has changed, for example, the QueryString
, an error is returned.
This token is listed as not required because AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS CLI, you must provide this token or the action will fail.
clientRequestToken
- A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only
once). If another CreateNamedQuery
request is received, the same response is returned and
another query is not created. If a parameter has changed, for example, the QueryString
, an
error is returned. This token is listed as not required because AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS CLI, you must provide this token or the action will fail.
public String getClientRequestToken()
A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once).
If another CreateNamedQuery
request is received, the same response is returned and another query is
not created. If a parameter has changed, for example, the QueryString
, an error is returned.
This token is listed as not required because AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS CLI, you must provide this token or the action will fail.
CreateNamedQuery
request is received, the same response is returned
and another query is not created. If a parameter has changed, for example, the QueryString
,
an error is returned. This token is listed as not required because AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS CLI, you must provide this token or the action will fail.
public CreateNamedQueryRequest withClientRequestToken(String clientRequestToken)
A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once).
If another CreateNamedQuery
request is received, the same response is returned and another query is
not created. If a parameter has changed, for example, the QueryString
, an error is returned.
This token is listed as not required because AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS CLI, you must provide this token or the action will fail.
clientRequestToken
- A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only
once). If another CreateNamedQuery
request is received, the same response is returned and
another query is not created. If a parameter has changed, for example, the QueryString
, an
error is returned. This token is listed as not required because AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS CLI, you must provide this token or the action will fail.
public String toString()
toString
in class Object
Object.toString()
public CreateNamedQueryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.