@Generated(value="software.amazon.awssdk:codegen") public final class NamedQuery extends Object implements StructuredPojo, ToCopyableBuilder<NamedQuery.Builder,NamedQuery>
A query, where QueryString
is the SQL query statements that comprise the query.
Modifier and Type | Class and Description |
---|---|
static interface |
NamedQuery.Builder |
Modifier and Type | Method and Description |
---|---|
static NamedQuery.Builder |
builder() |
String |
database()
The database to which the query belongs.
|
String |
description()
A brief description of the query.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The plain-language name of the query.
|
String |
namedQueryId()
The unique identifier of the query.
|
String |
queryString()
The SQL query statements that comprise the query.
|
static Class<? extends NamedQuery.Builder> |
serializableBuilderClass() |
NamedQuery.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String name()
The plain-language name of the query.
public String description()
A brief description of the query.
public String database()
The database to which the query belongs.
public String queryString()
The SQL query statements that comprise the query.
public String namedQueryId()
The unique identifier of the query.
public NamedQuery.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<NamedQuery.Builder,NamedQuery>
public static NamedQuery.Builder builder()
public static Class<? extends NamedQuery.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.