@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StoredQueryMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Returns details of a specific query.
| Constructor and Description |
|---|
StoredQueryMetadata() |
| Modifier and Type | Method and Description |
|---|---|
StoredQueryMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A unique description for 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 |
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.
|
StoredQueryMetadata |
withDescription(String description)
A unique description for the query.
|
StoredQueryMetadata |
withQueryArn(String queryArn)
Amazon Resource Name (ARN) of the query.
|
StoredQueryMetadata |
withQueryId(String queryId)
The ID of the query.
|
StoredQueryMetadata |
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 StoredQueryMetadata 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 StoredQueryMetadata 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 StoredQueryMetadata 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 StoredQueryMetadata withDescription(String description)
A unique description for the query.
description - A unique description for the query.public String toString()
toString in class ObjectObject.toString()public StoredQueryMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.