@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Query extends Object implements Serializable, Cloneable, StructuredPojo
Defines the query to run against an object.
Constructor and Description |
---|
Query() |
Modifier and Type | Method and Description |
---|---|
Query |
clone() |
boolean |
equals(Object obj) |
List<Selector> |
getSelectors()
List of selectors that define the query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSelectors(Collection<Selector> selectors)
List of selectors that define the query.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Query |
withSelectors(Collection<Selector> selectors)
List of selectors that define the query.
|
Query |
withSelectors(Selector... selectors)
List of selectors that define the query.
|
public List<Selector> getSelectors()
List of selectors that define the query. An object must satisfy all of the selectors to match the query.
public void setSelectors(Collection<Selector> selectors)
List of selectors that define the query. An object must satisfy all of the selectors to match the query.
selectors
- List of selectors that define the query. An object must satisfy all of the selectors to match the query.public Query withSelectors(Selector... selectors)
List of selectors that define the query. An object must satisfy all of the selectors to match the query.
NOTE: This method appends the values to the existing list (if any). Use
setSelectors(java.util.Collection)
or withSelectors(java.util.Collection)
if you want to
override the existing values.
selectors
- List of selectors that define the query. An object must satisfy all of the selectors to match the query.public Query withSelectors(Collection<Selector> selectors)
List of selectors that define the query. An object must satisfy all of the selectors to match the query.
selectors
- List of selectors that define the query. An object must satisfy all of the selectors to match the query.public String toString()
toString
in class Object
Object.toString()
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.