@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)
Marshalls this structured data using the given
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.
TagFilterType
public 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.
TagFilterType
public 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.
TagFilterType
public 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.
TagFilterType
public 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.
TagFilterType
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.