public class InstanceInformationFilter extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
InstanceInformationFilter() |
| Modifier and Type | Method and Description |
|---|---|
InstanceInformationFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The name of the filter.
|
List<String> |
getValueSet()
The filter values.
|
int |
hashCode() |
void |
setKey(InstanceInformationFilterKey key)
The name of the filter.
|
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; useful for testing and
debugging.
|
InstanceInformationFilter |
withKey(InstanceInformationFilterKey key)
The name of the filter.
|
InstanceInformationFilter |
withKey(String key)
The name of the filter.
|
InstanceInformationFilter |
withValueSet(Collection<String> valueSet)
The filter values.
|
InstanceInformationFilter |
withValueSet(String... valueSet)
The filter values.
|
public void setKey(String key)
key - The name of the filter.InstanceInformationFilterKeypublic String getKey()
InstanceInformationFilterKeypublic InstanceInformationFilter withKey(String key)
key - The name of the filter.InstanceInformationFilterKeypublic void setKey(InstanceInformationFilterKey key)
key - The name of the filter.InstanceInformationFilterKeypublic InstanceInformationFilter withKey(InstanceInformationFilterKey key)
key - The name of the filter.InstanceInformationFilterKeypublic void setValueSet(Collection<String> valueSet)
valueSet - The filter values.public InstanceInformationFilter withValueSet(String... valueSet)
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 InstanceInformationFilter withValueSet(Collection<String> valueSet)
valueSet - The filter values.public String toString()
toString in class ObjectObject.toString()public InstanceInformationFilter clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.