@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeActivationsFilter extends Object implements Serializable, Cloneable, StructuredPojo
Filter for the DescribeActivation API.
Constructor and Description |
---|
DescribeActivationsFilter() |
Modifier and Type | Method and Description |
---|---|
DescribeActivationsFilter |
clone() |
boolean |
equals(Object obj) |
String |
getFilterKey()
The name of the filter.
|
List<String> |
getFilterValues()
The filter values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFilterKey(DescribeActivationsFilterKeys filterKey)
The name of the filter.
|
void |
setFilterKey(String filterKey)
The name of the filter.
|
void |
setFilterValues(Collection<String> filterValues)
The filter values.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeActivationsFilter |
withFilterKey(DescribeActivationsFilterKeys filterKey)
The name of the filter.
|
DescribeActivationsFilter |
withFilterKey(String filterKey)
The name of the filter.
|
DescribeActivationsFilter |
withFilterValues(Collection<String> filterValues)
The filter values.
|
DescribeActivationsFilter |
withFilterValues(String... filterValues)
The filter values.
|
public void setFilterKey(String filterKey)
The name of the filter.
filterKey
- The name of the filter.DescribeActivationsFilterKeys
public String getFilterKey()
The name of the filter.
DescribeActivationsFilterKeys
public DescribeActivationsFilter withFilterKey(String filterKey)
The name of the filter.
filterKey
- The name of the filter.DescribeActivationsFilterKeys
public void setFilterKey(DescribeActivationsFilterKeys filterKey)
The name of the filter.
filterKey
- The name of the filter.DescribeActivationsFilterKeys
public DescribeActivationsFilter withFilterKey(DescribeActivationsFilterKeys filterKey)
The name of the filter.
filterKey
- The name of the filter.DescribeActivationsFilterKeys
public List<String> getFilterValues()
The filter values.
public void setFilterValues(Collection<String> filterValues)
The filter values.
filterValues
- The filter values.public DescribeActivationsFilter withFilterValues(String... filterValues)
The filter values.
NOTE: This method appends the values to the existing list (if any). Use
setFilterValues(java.util.Collection)
or withFilterValues(java.util.Collection)
if you want to
override the existing values.
filterValues
- The filter values.public DescribeActivationsFilter withFilterValues(Collection<String> filterValues)
The filter values.
filterValues
- The filter values.public String toString()
toString
in class Object
Object.toString()
public DescribeActivationsFilter clone()
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.