|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.ec2.model.TagDescription
public class TagDescription
Provides information about an Amazon EC2 resource Tag.
| Constructor Summary | |
|---|---|
TagDescription()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getKey()
The tag's key. |
java.lang.String |
getResourceId()
The resource ID for the tag. |
java.lang.String |
getResourceType()
The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc). |
java.lang.String |
getValue()
The tag's value. |
int |
hashCode()
|
void |
setKey(java.lang.String key)
The tag's key. |
void |
setResourceId(java.lang.String resourceId)
The resource ID for the tag. |
void |
setResourceType(ResourceType resourceType)
The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc). |
void |
setResourceType(java.lang.String resourceType)
The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc). |
void |
setValue(java.lang.String value)
The tag's value. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
TagDescription |
withKey(java.lang.String key)
The tag's key. |
TagDescription |
withResourceId(java.lang.String resourceId)
The resource ID for the tag. |
TagDescription |
withResourceType(ResourceType resourceType)
The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc). |
TagDescription |
withResourceType(java.lang.String resourceType)
The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc). |
TagDescription |
withValue(java.lang.String value)
The tag's value. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TagDescription()
| Method Detail |
|---|
public java.lang.String getResourceId()
public void setResourceId(java.lang.String resourceId)
resourceId - The resource ID for the tag.public TagDescription withResourceId(java.lang.String resourceId)
Returns a reference to this object so that method calls can be chained together.
resourceId - The resource ID for the tag.
public java.lang.String getResourceType()
Constraints:
Allowed Values: customer-gateway, dhcp-options, image, instance, snapshot, spot-instances-request, subnet, volume, vpc, vpn-connection, vpn-gateway
ResourceTypepublic void setResourceType(java.lang.String resourceType)
Constraints:
Allowed Values: customer-gateway, dhcp-options, image, instance, snapshot, spot-instances-request, subnet, volume, vpc, vpn-connection, vpn-gateway
resourceType - The type of resource identified by the associated resource ID (ex:
instance, AMI, EBS volume, etc).ResourceTypepublic TagDescription withResourceType(java.lang.String resourceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: customer-gateway, dhcp-options, image, instance, snapshot, spot-instances-request, subnet, volume, vpc, vpn-connection, vpn-gateway
resourceType - The type of resource identified by the associated resource ID (ex:
instance, AMI, EBS volume, etc).
ResourceTypepublic void setResourceType(ResourceType resourceType)
Constraints:
Allowed Values: customer-gateway, dhcp-options, image, instance, snapshot, spot-instances-request, subnet, volume, vpc, vpn-connection, vpn-gateway
resourceType - The type of resource identified by the associated resource ID (ex:
instance, AMI, EBS volume, etc).ResourceTypepublic TagDescription withResourceType(ResourceType resourceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: customer-gateway, dhcp-options, image, instance, snapshot, spot-instances-request, subnet, volume, vpc, vpn-connection, vpn-gateway
resourceType - The type of resource identified by the associated resource ID (ex:
instance, AMI, EBS volume, etc).
ResourceTypepublic java.lang.String getKey()
public void setKey(java.lang.String key)
key - The tag's key.public TagDescription withKey(java.lang.String key)
Returns a reference to this object so that method calls can be chained together.
key - The tag's key.
public java.lang.String getValue()
public void setValue(java.lang.String value)
value - The tag's value.public TagDescription withValue(java.lang.String value)
Returns a reference to this object so that method calls can be chained together.
value - The tag's value.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||