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