@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutStoredQueryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutStoredQueryRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutStoredQueryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
StoredQuery |
getStoredQuery()
A list of
StoredQuery objects. |
List<Tag> |
getTags()
A list of
Tags object. |
int |
hashCode() |
void |
setStoredQuery(StoredQuery storedQuery)
A list of
StoredQuery objects. |
void |
setTags(Collection<Tag> tags)
A list of
Tags object. |
String |
toString()
Returns a string representation of this object.
|
PutStoredQueryRequest |
withStoredQuery(StoredQuery storedQuery)
A list of
StoredQuery objects. |
PutStoredQueryRequest |
withTags(Collection<Tag> tags)
A list of
Tags object. |
PutStoredQueryRequest |
withTags(Tag... tags)
A list of
Tags object. |
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, withSdkRequestTimeoutpublic void setStoredQuery(StoredQuery storedQuery)
A list of StoredQuery objects. The mandatory fields are QueryName and
Expression.
When you are creating a query, you must provide a query name and an expression. When you are updating a query, you must provide a query name but updating the description is optional.
storedQuery - A list of StoredQuery objects. The mandatory fields are QueryName and
Expression. When you are creating a query, you must provide a query name and an expression. When you are updating a query, you must provide a query name but updating the description is optional.
public StoredQuery getStoredQuery()
A list of StoredQuery objects. The mandatory fields are QueryName and
Expression.
When you are creating a query, you must provide a query name and an expression. When you are updating a query, you must provide a query name but updating the description is optional.
StoredQuery objects. The mandatory fields are QueryName and
Expression. When you are creating a query, you must provide a query name and an expression. When you are updating a query, you must provide a query name but updating the description is optional.
public PutStoredQueryRequest withStoredQuery(StoredQuery storedQuery)
A list of StoredQuery objects. The mandatory fields are QueryName and
Expression.
When you are creating a query, you must provide a query name and an expression. When you are updating a query, you must provide a query name but updating the description is optional.
storedQuery - A list of StoredQuery objects. The mandatory fields are QueryName and
Expression. When you are creating a query, you must provide a query name and an expression. When you are updating a query, you must provide a query name but updating the description is optional.
public void setTags(Collection<Tag> tags)
A list of Tags object.
tags - A list of Tags object.public PutStoredQueryRequest withTags(Tag... tags)
A list of Tags object.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - A list of Tags object.public PutStoredQueryRequest withTags(Collection<Tag> tags)
A list of Tags object.
tags - A list of Tags object.public String toString()
toString in class ObjectObject.toString()public PutStoredQueryRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()