|
|||||||
| 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(Object obj)
|
String |
getKey()
The tag's key. |
String |
getResourceId()
The resource ID for the tag. |
String |
getResourceType()
The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc). |
String |
getValue()
The tag's value. |
int |
hashCode()
|
void |
setKey(String key)
The tag's key. |
void |
setResourceId(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(String resourceType)
The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc). |
void |
setValue(String value)
The tag's value. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
TagDescription |
withKey(String key)
The tag's key. |
TagDescription |
withResourceId(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(String resourceType)
The type of resource identified by the associated resource ID (ex: instance, AMI, EBS volume, etc). |
TagDescription |
withValue(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 String getResourceId()
public void setResourceId(String resourceId)
resourceId - The resource ID for the tag.public TagDescription withResourceId(String resourceId)
Returns a reference to this object so that method calls can be chained together.
resourceId - The resource ID for the tag.
public 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(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(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 String getKey()
public void setKey(String key)
key - The tag's key.public TagDescription withKey(String key)
Returns a reference to this object so that method calls can be chained together.
key - The tag's key.
public String getValue()
public void setValue(String value)
value - The tag's value.public TagDescription withValue(String value)
Returns a reference to this object so that method calls can be chained together.
value - The tag's value.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||