public class EC2TagFilter extends Object implements Serializable, Cloneable
Information about a tag filter.
| Constructor and Description |
|---|
EC2TagFilter() |
| Modifier and Type | Method and Description |
|---|---|
EC2TagFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The tag filter key.
|
String |
getType()
The tag filter type: KEY_ONLY: Key only. VALUE_ONLY:
Value only. KEY_AND_VALUE: Key and value.
|
String |
getValue()
The tag filter value.
|
int |
hashCode() |
void |
setKey(String key)
The tag filter key.
|
void |
setType(EC2TagFilterType type)
The tag filter type: KEY_ONLY: Key only. VALUE_ONLY:
Value only. KEY_AND_VALUE: Key and value.
|
void |
setType(String type)
The tag filter type: KEY_ONLY: Key only. VALUE_ONLY:
Value only. KEY_AND_VALUE: Key and value.
|
void |
setValue(String value)
The tag filter value.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EC2TagFilter |
withKey(String key)
The tag filter key.
|
EC2TagFilter |
withType(EC2TagFilterType type)
The tag filter type: KEY_ONLY: Key only. VALUE_ONLY:
Value only. KEY_AND_VALUE: Key and value.
|
EC2TagFilter |
withType(String type)
The tag filter type: KEY_ONLY: Key only. VALUE_ONLY:
Value only. KEY_AND_VALUE: Key and value.
|
EC2TagFilter |
withValue(String value)
The tag filter value.
|
public String getKey()
public void setKey(String key)
key - The tag filter key.public EC2TagFilter withKey(String key)
Returns a reference to this object so that method calls can be chained together.
key - The tag filter key.public String getValue()
public void setValue(String value)
value - The tag filter value.public EC2TagFilter withValue(String value)
Returns a reference to this object so that method calls can be chained together.
value - The tag filter value.public String getType()
Constraints:
Allowed Values: KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
EC2TagFilterTypepublic void setType(String type)
Constraints:
Allowed Values: KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
type - The tag filter type: EC2TagFilterTypepublic EC2TagFilter withType(String type)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
type - The tag filter type: EC2TagFilterTypepublic void setType(EC2TagFilterType type)
Constraints:
Allowed Values: KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
type - The tag filter type: EC2TagFilterTypepublic EC2TagFilter withType(EC2TagFilterType type)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
type - The tag filter type: EC2TagFilterTypepublic String toString()
toString in class ObjectObject.toString()public EC2TagFilter clone()
Copyright © 2015. All rights reserved.