Class TagDescription
java.lang.Object
com.amazonaws.services.ec2.model.TagDescription
- All Implemented Interfaces:
Serializable, Cloneable
Describes a tag.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetKey()The tag key.The ID of the resource.The resource type.getValue()The tag value.inthashCode()voidThe tag key.voidsetResourceId(String resourceId) The ID of the resource.voidsetResourceType(ResourceType resourceType) The resource type.voidsetResourceType(String resourceType) The resource type.voidThe tag value.toString()Returns a string representation of this object; useful for testing and debugging.The tag key.withResourceId(String resourceId) The ID of the resource.withResourceType(ResourceType resourceType) The resource type.withResourceType(String resourceType) The resource type.The tag value.
-
Constructor Details
-
TagDescription
public TagDescription()
-
-
Method Details
-
setResourceId
The ID of the resource. For example,
ami-1a2b3c4d.- Parameters:
resourceId- The ID of the resource. For example,ami-1a2b3c4d.
-
getResourceId
The ID of the resource. For example,
ami-1a2b3c4d.- Returns:
- The ID of the resource. For example,
ami-1a2b3c4d.
-
withResourceId
The ID of the resource. For example,
ami-1a2b3c4d.- Parameters:
resourceId- The ID of the resource. For example,ami-1a2b3c4d.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceType
The resource type.
- Parameters:
resourceType- The resource type.- See Also:
-
getResourceType
-
withResourceType
The resource type.
- Parameters:
resourceType- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setResourceType
The resource type.
- Parameters:
resourceType- The resource type.- See Also:
-
withResourceType
The resource type.
- Parameters:
resourceType- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setKey
-
getKey
-
withKey
The tag key.
- Parameters:
key- The tag key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValue
-
getValue
-
withValue
The tag value.
- Parameters:
value- The tag value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-