public class TagFilter extends Object implements Serializable, Cloneable
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: KEY_ONLY: Key
only. VALUE_ONLY: Value only. KEY_AND_VALUE: Key and
value.
|
String |
getValue()
The on-premises instance tag filter value.
|
int |
hashCode() |
void |
setKey(String key)
The on-premises instance tag filter key.
|
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.
|
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.
|
void |
setValue(String value)
The on-premises instance tag filter value.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TagFilter |
withKey(String key)
The on-premises instance tag filter key.
|
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.
|
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.
|
TagFilter |
withValue(String value)
The on-premises instance tag filter value.
|
public String getKey()
public void setKey(String key)
key - The on-premises instance tag filter key.public TagFilter withKey(String key)
Returns a reference to this object so that method calls can be chained together.
key - The on-premises instance tag filter key.public String getValue()
public void setValue(String value)
value - The on-premises instance tag filter value.public TagFilter withValue(String value)
Returns a reference to this object so that method calls can be chained together.
value - The on-premises instance tag filter value.public String getType()
Constraints:
Allowed Values: KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
TagFilterTypepublic void setType(String type)
Constraints:
Allowed Values: KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
type - The on-premises instance tag filter type: TagFilterTypepublic TagFilter 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 on-premises instance tag filter type: TagFilterTypepublic void setType(TagFilterType type)
Constraints:
Allowed Values: KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
type - The on-premises instance tag filter type: TagFilterTypepublic TagFilter withType(TagFilterType 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 on-premises instance tag filter type: TagFilterTypepublic String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.