@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceTag extends Object implements Serializable, Cloneable, StructuredPojo
Information about the resource tags used to identify resources that are retained by the retention rule.
Constructor and Description |
---|
ResourceTag() |
Modifier and Type | Method and Description |
---|---|
ResourceTag |
clone() |
boolean |
equals(Object obj) |
String |
getResourceTagKey()
The tag key.
|
String |
getResourceTagValue()
The tag value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setResourceTagKey(String resourceTagKey)
The tag key.
|
void |
setResourceTagValue(String resourceTagValue)
The tag value.
|
String |
toString()
Returns a string representation of this object.
|
ResourceTag |
withResourceTagKey(String resourceTagKey)
The tag key.
|
ResourceTag |
withResourceTagValue(String resourceTagValue)
The tag value.
|
public void setResourceTagKey(String resourceTagKey)
The tag key.
resourceTagKey
- The tag key.public String getResourceTagKey()
The tag key.
public ResourceTag withResourceTagKey(String resourceTagKey)
The tag key.
resourceTagKey
- The tag key.public void setResourceTagValue(String resourceTagValue)
The tag value.
resourceTagValue
- The tag value.public String getResourceTagValue()
The tag value.
public ResourceTag withResourceTagValue(String resourceTagValue)
The tag value.
resourceTagValue
- The tag value.public String toString()
toString
in class Object
Object.toString()
public ResourceTag clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.