@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StoredQuery extends Object implements Serializable, Cloneable, StructuredPojo
Provides the details of a stored query.
Constructor and Description |
---|
StoredQuery() |
Modifier and Type | Method and Description |
---|---|
StoredQuery |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A unique description for the query.
|
String |
getExpression()
The expression of the query.
|
String |
getQueryArn()
Amazon Resource Name (ARN) of the query.
|
String |
getQueryId()
The ID of the query.
|
String |
getQueryName()
The name of the query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
A unique description for the query.
|
void |
setExpression(String expression)
The expression of the query.
|
void |
setQueryArn(String queryArn)
Amazon Resource Name (ARN) of the query.
|
void |
setQueryId(String queryId)
The ID of the query.
|
void |
setQueryName(String queryName)
The name of the query.
|
String |
toString()
Returns a string representation of this object.
|
StoredQuery |
withDescription(String description)
A unique description for the query.
|
StoredQuery |
withExpression(String expression)
The expression of the query.
|
StoredQuery |
withQueryArn(String queryArn)
Amazon Resource Name (ARN) of the query.
|
StoredQuery |
withQueryId(String queryId)
The ID of the query.
|
StoredQuery |
withQueryName(String queryName)
The name of the query.
|
public void setQueryId(String queryId)
The ID of the query.
queryId
- The ID of the query.public String getQueryId()
The ID of the query.
public StoredQuery withQueryId(String queryId)
The ID of the query.
queryId
- The ID of the query.public void setQueryArn(String queryArn)
Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
queryArn
- Amazon Resource Name (ARN) of the query. For example,
arn:partition:service:region:account-id:resource-type/resource-name/resource-id.public String getQueryArn()
Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
public StoredQuery withQueryArn(String queryArn)
Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
queryArn
- Amazon Resource Name (ARN) of the query. For example,
arn:partition:service:region:account-id:resource-type/resource-name/resource-id.public void setQueryName(String queryName)
The name of the query.
queryName
- The name of the query.public String getQueryName()
The name of the query.
public StoredQuery withQueryName(String queryName)
The name of the query.
queryName
- The name of the query.public void setDescription(String description)
A unique description for the query.
description
- A unique description for the query.public String getDescription()
A unique description for the query.
public StoredQuery withDescription(String description)
A unique description for the query.
description
- A unique description for the query.public void setExpression(String expression)
The expression of the query. For example,
SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
expression
- The expression of the query. For example,
SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
public String getExpression()
The expression of the query. For example,
SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
public StoredQuery withExpression(String expression)
The expression of the query. For example,
SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
expression
- The expression of the query. For example,
SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
public String toString()
toString
in class Object
Object.toString()
public StoredQuery clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.