@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagFilter extends Object implements Serializable, Cloneable, StructuredPojo
The tag filter. Valid names are: tagKey
, tagValue
, configurationId
.
Constructor and Description |
---|
TagFilter() |
Modifier and Type | Method and Description |
---|---|
TagFilter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
A name of the tag filter.
|
List<String> |
getValues()
Values for the tag filter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
A name of the tag filter.
|
void |
setValues(Collection<String> values)
Values for the tag filter.
|
String |
toString()
Returns a string representation of this object.
|
TagFilter |
withName(String name)
A name of the tag filter.
|
TagFilter |
withValues(Collection<String> values)
Values for the tag filter.
|
TagFilter |
withValues(String... values)
Values for the tag filter.
|
public void setName(String name)
A name of the tag filter.
name
- A name of the tag filter.public String getName()
A name of the tag filter.
public TagFilter withName(String name)
A name of the tag filter.
name
- A name of the tag filter.public List<String> getValues()
Values for the tag filter.
public void setValues(Collection<String> values)
Values for the tag filter.
values
- Values for the tag filter.public TagFilter withValues(String... values)
Values for the tag filter.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- Values for the tag filter.public TagFilter withValues(Collection<String> values)
Values for the tag filter.
values
- Values for the tag filter.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.