@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NamedQuery extends Object implements Serializable, Cloneable, StructuredPojo
A query, where QueryString
is the list of 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()
The query description.
|
String |
getName()
The query name.
|
String |
getNamedQueryId()
The unique identifier of the query.
|
String |
getQueryString()
The SQL query statements that comprise the query.
|
String |
getWorkGroup()
The name of the workgroup that contains the named 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)
The query description.
|
void |
setName(String name)
The query name.
|
void |
setNamedQueryId(String namedQueryId)
The unique identifier of the query.
|
void |
setQueryString(String queryString)
The SQL query statements that comprise the query.
|
void |
setWorkGroup(String workGroup)
The name of the workgroup that contains the named query.
|
String |
toString()
Returns a string representation of this object.
|
NamedQuery |
withDatabase(String database)
The database to which the query belongs.
|
NamedQuery |
withDescription(String description)
The query description.
|
NamedQuery |
withName(String name)
The query name.
|
NamedQuery |
withNamedQueryId(String namedQueryId)
The unique identifier of the query.
|
NamedQuery |
withQueryString(String queryString)
The SQL query statements that comprise the query.
|
NamedQuery |
withWorkGroup(String workGroup)
The name of the workgroup that contains the named query.
|
public void setName(String name)
The query name.
name
- The query name.public String getName()
The query name.
public NamedQuery 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 NamedQuery 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 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 void setWorkGroup(String workGroup)
The name of the workgroup that contains the named query.
workGroup
- The name of the workgroup that contains the named query.public String getWorkGroup()
The name of the workgroup that contains the named query.
public NamedQuery withWorkGroup(String workGroup)
The name of the workgroup that contains the named query.
workGroup
- The name of the workgroup that contains the named 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.