Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.datapipeline.model
Class Query

java.lang.Object
  extended by com.amazonaws.services.datapipeline.model.Query
All Implemented Interfaces:
Serializable

public class Query
extends Object
implements Serializable

Defines the query to run against an object.

See Also:
Serialized Form

Constructor Summary
Query()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Selector> getSelectors()
          List of selectors that define the query.
 int hashCode()
           
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Query

public Query()
Method Detail

getSelectors

public List<Selector> getSelectors()
List of selectors that define the query. An object must satisfy all of the selectors to match the query.

Returns:
List of selectors that define the query. An object must satisfy all of the selectors to match the query.

setSelectors

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.

Parameters:
selectors - List of selectors that define the query. An object must satisfy all of the selectors to match the query.

withSelectors

public Query withSelectors(Selector... selectors)
List of selectors that define the query. An object must satisfy all of the selectors to match the query.

Returns a reference to this object so that method calls can be chained together.

Parameters:
selectors - List of selectors that define the query. An object must satisfy all of the selectors to match the query.
Returns:
A reference to this updated object so that method calls can be chained together.

withSelectors

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
selectors - List of selectors that define the query. An object must satisfy all of the selectors to match the query.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.