@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NamedQuery extends Object implements Serializable, Cloneable, StructuredPojo
A query, where QueryString
is the SQL query statements that comprise the query.
Constructor and Description |
---|
NamedQuery() |
Modifier and Type | Method and Description |
---|---|
NamedQuery |
clone() |
boolean |
equals(Object obj) |
String |
getDatabase()
The database to which the query belongs.
|
String |
getDescription()
A brief description of the query.
|
String |
getName()
The plain-language name of the query.
|
String |
getNamedQueryId()
The unique identifier of the query.
|
String |
getQueryString()
The SQL query statements that comprise the query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDatabase(String database)
The database to which the query belongs.
|
void |
setDescription(String description)
A brief description of the query.
|
void |
setName(String name)
The plain-language name of the query.
|
void |
setNamedQueryId(String namedQueryId)
The unique identifier of the query.
|
void |
setQueryString(String queryString)
The SQL query statements that comprise the query.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
NamedQuery |
withDatabase(String database)
The database to which the query belongs.
|
NamedQuery |
withDescription(String description)
A brief description of the query.
|
NamedQuery |
withName(String name)
The plain-language name of the query.
|
NamedQuery |
withNamedQueryId(String namedQueryId)
The unique identifier of the query.
|
NamedQuery |
withQueryString(String queryString)
The SQL query statements that comprise the query.
|
public void setName(String name)
The plain-language name of the query.
name
- The plain-language name of the query.public String getName()
The plain-language name of the query.
public NamedQuery withName(String name)
The plain-language name of the query.
name
- The plain-language name of the query.public void setDescription(String description)
A brief description of the query.
description
- A brief description of the query.public String getDescription()
A brief description of the query.
public NamedQuery withDescription(String description)
A brief description of the query.
description
- A brief description 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 NamedQuery withDatabase(String database)
The database to which the query belongs.
database
- The database to which the query belongs.public void setQueryString(String queryString)
The SQL query statements that comprise the query.
queryString
- The SQL query statements that comprise the query.public String getQueryString()
The SQL query statements that comprise the query.
public NamedQuery withQueryString(String queryString)
The SQL query statements that comprise the query.
queryString
- The SQL query statements that comprise the query.public void setNamedQueryId(String namedQueryId)
The unique identifier of the query.
namedQueryId
- The unique identifier of the query.public String getNamedQueryId()
The unique identifier of the query.
public NamedQuery withNamedQueryId(String namedQueryId)
The unique identifier of the query.
namedQueryId
- The unique identifier of the query.public String toString()
toString
in class Object
Object.toString()
public NamedQuery clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.