@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagFilter extends Object implements Serializable, Cloneable, StructuredPojo
Information about an on-premises instance tag filter.
| Constructor and Description |
|---|
TagFilter() |
| Modifier and Type | Method and Description |
|---|---|
TagFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The on-premises instance tag filter key.
|
String |
getType()
The on-premises instance tag filter type:
|
String |
getValue()
The on-premises instance tag filter value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKey(String key)
The on-premises instance tag filter key.
|
void |
setType(String type)
The on-premises instance tag filter type:
|
void |
setType(TagFilterType type)
The on-premises instance tag filter type:
|
void |
setValue(String value)
The on-premises instance tag filter value.
|
String |
toString()
Returns a string representation of this object.
|
TagFilter |
withKey(String key)
The on-premises instance tag filter key.
|
TagFilter |
withType(String type)
The on-premises instance tag filter type:
|
TagFilter |
withType(TagFilterType type)
The on-premises instance tag filter type:
|
TagFilter |
withValue(String value)
The on-premises instance tag filter value.
|
public void setKey(String key)
The on-premises instance tag filter key.
key - The on-premises instance tag filter key.public String getKey()
The on-premises instance tag filter key.
public TagFilter withKey(String key)
The on-premises instance tag filter key.
key - The on-premises instance tag filter key.public void setValue(String value)
The on-premises instance tag filter value.
value - The on-premises instance tag filter value.public String getValue()
The on-premises instance tag filter value.
public TagFilter withValue(String value)
The on-premises instance tag filter value.
value - The on-premises instance tag filter value.public void setType(String type)
The on-premises instance tag filter type:
KEY_ONLY: Key only.
VALUE_ONLY: Value only.
KEY_AND_VALUE: Key and value.
type - The on-premises instance tag filter type:
KEY_ONLY: Key only.
VALUE_ONLY: Value only.
KEY_AND_VALUE: Key and value.
TagFilterTypepublic String getType()
The on-premises instance tag filter type:
KEY_ONLY: Key only.
VALUE_ONLY: Value only.
KEY_AND_VALUE: Key and value.
KEY_ONLY: Key only.
VALUE_ONLY: Value only.
KEY_AND_VALUE: Key and value.
TagFilterTypepublic TagFilter withType(String type)
The on-premises instance tag filter type:
KEY_ONLY: Key only.
VALUE_ONLY: Value only.
KEY_AND_VALUE: Key and value.
type - The on-premises instance tag filter type:
KEY_ONLY: Key only.
VALUE_ONLY: Value only.
KEY_AND_VALUE: Key and value.
TagFilterTypepublic void setType(TagFilterType type)
The on-premises instance tag filter type:
KEY_ONLY: Key only.
VALUE_ONLY: Value only.
KEY_AND_VALUE: Key and value.
type - The on-premises instance tag filter type:
KEY_ONLY: Key only.
VALUE_ONLY: Value only.
KEY_AND_VALUE: Key and value.
TagFilterTypepublic TagFilter withType(TagFilterType type)
The on-premises instance tag filter type:
KEY_ONLY: Key only.
VALUE_ONLY: Value only.
KEY_AND_VALUE: Key and value.
type - The on-premises instance tag filter type:
KEY_ONLY: Key only.
VALUE_ONLY: Value only.
KEY_AND_VALUE: Key and value.
TagFilterTypepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.