@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()
The query description.
|
String |
getName()
The query name.
|
String |
getQueryString()
The contents of the query with all query statements.
|
String |
getWorkGroup()
The name of the workgroup in which the named query is being created.
|
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)
The query description.
|
void |
setName(String name)
The query name.
|
void |
setQueryString(String queryString)
The contents of the query with all query statements.
|
void |
setWorkGroup(String workGroup)
The name of the workgroup in which the named query is being created.
|
String |
toString()
Returns a string representation of this object.
|
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)
The query description.
|
CreateNamedQueryRequest |
withName(String name)
The query name.
|
CreateNamedQueryRequest |
withQueryString(String queryString)
The contents of the query with all query statements.
|
CreateNamedQueryRequest |
withWorkGroup(String workGroup)
The name of the workgroup in which the named query is being created.
|
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 query name.
name
- The query name.public String getName()
The query name.
public CreateNamedQueryRequest withName(String name)
The query name.
name
- The query name.public void setDescription(String description)
The query description.
description
- The query description.public String getDescription()
The query description.
public CreateNamedQueryRequest withDescription(String description)
The query description.
description
- The query description.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 contents of the query with all query statements.
queryString
- The contents of the query with all query statements.public String getQueryString()
The contents of the query with all query statements.
public CreateNamedQueryRequest withQueryString(String queryString)
The contents of the query with all query statements.
queryString
- The contents of the query with 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 Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services 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 Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services 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 Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services 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 Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services 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 Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services 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 Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
public void setWorkGroup(String workGroup)
The name of the workgroup in which the named query is being created.
workGroup
- The name of the workgroup in which the named query is being created.public String getWorkGroup()
The name of the workgroup in which the named query is being created.
public CreateNamedQueryRequest withWorkGroup(String workGroup)
The name of the workgroup in which the named query is being created.
workGroup
- The name of the workgroup in which the named query is being created.public String toString()
toString
in class Object
Object.toString()
public CreateNamedQueryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()