@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UniqueTagResourceIdentifier extends Object implements Serializable, Cloneable, StructuredPojo
The unique key-value pair for a tag that identifies provisioned product resources.
Constructor and Description |
---|
UniqueTagResourceIdentifier() |
Modifier and Type | Method and Description |
---|---|
UniqueTagResourceIdentifier |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
A unique key that's attached to a resource.
|
String |
getValue()
A unique value that's attached to a resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
A unique key that's attached to a resource.
|
void |
setValue(String value)
A unique value that's attached to a resource.
|
String |
toString()
Returns a string representation of this object.
|
UniqueTagResourceIdentifier |
withKey(String key)
A unique key that's attached to a resource.
|
UniqueTagResourceIdentifier |
withValue(String value)
A unique value that's attached to a resource.
|
public void setKey(String key)
A unique key that's attached to a resource.
key
- A unique key that's attached to a resource.public String getKey()
A unique key that's attached to a resource.
public UniqueTagResourceIdentifier withKey(String key)
A unique key that's attached to a resource.
key
- A unique key that's attached to a resource.public void setValue(String value)
A unique value that's attached to a resource.
value
- A unique value that's attached to a resource.public String getValue()
A unique value that's attached to a resource.
public UniqueTagResourceIdentifier withValue(String value)
A unique value that's attached to a resource.
value
- A unique value that's attached to a resource.public String toString()
toString
in class Object
Object.toString()
public UniqueTagResourceIdentifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.