@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NamedQuery extends Object implements Serializable, Cloneable, StructuredPojo
A query, where QueryString
contains the SQL statements that make up 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 statements that make up the query.
|
String |
getWorkGroup()
The name of the workgroup that contains the named query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller 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 statements that make up 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 statements that make up 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 statements that make up the query.
queryString
- The SQL statements that make up the query.public String getQueryString()
The SQL statements that make up the query.
public NamedQuery withQueryString(String queryString)
The SQL statements that make up the query.
queryString
- The SQL statements that make up 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)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.