public class ResourceGroupTag extends Object implements Serializable, Cloneable
This data type is used as one of the elements of the ResourceGroup data type.
Constructor and Description |
---|
ResourceGroupTag() |
Modifier and Type | Method and Description |
---|---|
ResourceGroupTag |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
A tag key.
|
String |
getValue()
The value assigned to a tag key.
|
int |
hashCode() |
void |
setKey(String key)
A tag key.
|
void |
setValue(String value)
The value assigned to a tag key.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ResourceGroupTag |
withKey(String key)
A tag key.
|
ResourceGroupTag |
withValue(String value)
The value assigned to a tag key.
|
public void setKey(String key)
A tag key.
key
- A tag key.public String getKey()
A tag key.
public ResourceGroupTag withKey(String key)
A tag key.
key
- A tag key.public void setValue(String value)
The value assigned to a tag key.
value
- The value assigned to a tag key.public String getValue()
The value assigned to a tag key.
public ResourceGroupTag withValue(String value)
The value assigned to a tag key.
value
- The value assigned to a tag key.public String toString()
toString
in class Object
Object.toString()
public ResourceGroupTag clone()
Copyright © 2018. All rights reserved.