@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RequestIpamResourceTag extends Object implements Serializable, Cloneable
A tag on an IPAM resource.
| Constructor and Description |
|---|
RequestIpamResourceTag() |
| Modifier and Type | Method and Description |
|---|---|
RequestIpamResourceTag |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The key of a tag assigned to the resource.
|
String |
getValue()
The value for the tag.
|
int |
hashCode() |
void |
setKey(String key)
The key of a tag assigned to the resource.
|
void |
setValue(String value)
The value for the tag.
|
String |
toString()
Returns a string representation of this object.
|
RequestIpamResourceTag |
withKey(String key)
The key of a tag assigned to the resource.
|
RequestIpamResourceTag |
withValue(String value)
The value for the tag.
|
public void setKey(String key)
The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a
specific key, regardless of the tag value.public String getKey()
The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
public RequestIpamResourceTag withKey(String key)
The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a
specific key, regardless of the tag value.public void setValue(String value)
The value for the tag.
value - The value for the tag.public String getValue()
The value for the tag.
public RequestIpamResourceTag withValue(String value)
The value for the tag.
value - The value for the tag.public String toString()
toString in class ObjectObject.toString()public RequestIpamResourceTag clone()
Copyright © 2021. All rights reserved.