Class Query
java.lang.Object
com.amazonaws.services.datapipeline.model.Query
- All Implemented Interfaces:
Serializable
,Cloneable
Defines the query to run against an object.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
List of selectors that define the query.int
hashCode()
void
setSelectors
(Collection<Selector> selectors) List of selectors that define the query.toString()
Returns a string representation of this object; useful for testing and debugging.withSelectors
(Selector... selectors) List of selectors that define the query.withSelectors
(Collection<Selector> selectors) List of selectors that define the query.
-
Constructor Details
-
Query
public Query()
-
-
Method Details
-
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
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
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)
orwithSelectors(java.util.Collection)
if you want to override the existing values.- Parameters:
selectors
- List of selectors that define the query. An object must satisfy all of the selectors to match the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSelectors
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-