@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstancePropertyFilter extends Object implements Serializable, Cloneable, StructuredPojo
Describes a filter for a specific list of managed nodes. You can filter node information by using tags. You specify tags by using a key-value mapping.
Constructor and Description |
---|
InstancePropertyFilter() |
Modifier and Type | Method and Description |
---|---|
InstancePropertyFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The name of the filter.
|
List<String> |
getValueSet()
The filter values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The name of the filter.
|
void |
setValueSet(Collection<String> valueSet)
The filter values.
|
String |
toString()
Returns a string representation of this object.
|
InstancePropertyFilter |
withKey(InstancePropertyFilterKey key)
The name of the filter.
|
InstancePropertyFilter |
withKey(String key)
The name of the filter.
|
InstancePropertyFilter |
withValueSet(Collection<String> valueSet)
The filter values.
|
InstancePropertyFilter |
withValueSet(String... valueSet)
The filter values.
|
public void setKey(String key)
The name of the filter.
key
- The name of the filter.InstancePropertyFilterKey
public String getKey()
The name of the filter.
InstancePropertyFilterKey
public InstancePropertyFilter withKey(String key)
The name of the filter.
key
- The name of the filter.InstancePropertyFilterKey
public InstancePropertyFilter withKey(InstancePropertyFilterKey key)
The name of the filter.
key
- The name of the filter.InstancePropertyFilterKey
public void setValueSet(Collection<String> valueSet)
The filter values.
valueSet
- The filter values.public InstancePropertyFilter withValueSet(String... valueSet)
The filter values.
NOTE: This method appends the values to the existing list (if any). Use
setValueSet(java.util.Collection)
or withValueSet(java.util.Collection)
if you want to override
the existing values.
valueSet
- The filter values.public InstancePropertyFilter withValueSet(Collection<String> valueSet)
The filter values.
valueSet
- The filter values.public String toString()
toString
in class Object
Object.toString()
public InstancePropertyFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.