@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceInformationFilter extends Object implements Serializable, Cloneable, StructuredPojo
Describes a filter for a specific list of instances. You can filter instances information by using tags. You specify tags by using a key-value mapping.
Use this action instead of the DescribeInstanceInformationRequest$InstanceInformationFilterList method. The
InstanceInformationFilterList method is a legacy method and does not support tags.
| 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 |
marshall(ProtocolMarshaller protocolMarshaller) |
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.
|
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)
The name of the filter.
key - The name of the filter.InstanceInformationFilterKeypublic String getKey()
The name of the filter.
InstanceInformationFilterKeypublic InstanceInformationFilter withKey(String key)
The name of the filter.
key - The name of the filter.InstanceInformationFilterKeypublic void setKey(InstanceInformationFilterKey key)
The name of the filter.
key - The name of the filter.InstanceInformationFilterKeypublic InstanceInformationFilter withKey(InstanceInformationFilterKey key)
The name of the filter.
key - The name of the filter.InstanceInformationFilterKeypublic void setValueSet(Collection<String> valueSet)
The filter values.
valueSet - The filter values.public InstanceInformationFilter 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 InstanceInformationFilter withValueSet(Collection<String> valueSet)
The filter values.
valueSet - The filter values.public String toString()
toString in class ObjectObject.toString()public InstanceInformationFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.