|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.ec2.domain.Tag
public class Tag
To help you manage your Amazon EC2 instances, images, and other Amazon EC2 resources, you can assign your own metadata to each resource in the form of tags.
| Nested Class Summary | |
|---|---|
static class |
Tag.Builder
|
static interface |
Tag.ResourceType
Describes the well-known resource types that can be tagged. |
| Field Summary | |
|---|---|
protected String |
key
|
protected String |
resourceId
|
protected String |
resourceType
|
protected com.google.common.base.Optional<String> |
value
|
| Constructor Summary | |
|---|---|
protected |
Tag(String resourceId,
String resourceType,
String key,
com.google.common.base.Optional<String> value)
|
| Method Summary | |
|---|---|
static Tag.Builder |
builder()
|
boolean |
equals(Object obj)
|
String |
getKey()
The tag key. |
String |
getResourceId()
The resource ID ex. |
String |
getResourceType()
The resource type. |
com.google.common.base.Optional<String> |
getValue()
The tag value. |
int |
hashCode()
|
protected com.google.common.base.Objects.ToStringHelper |
string()
|
Tag.Builder |
toBuilder()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final String resourceId
protected final String resourceType
protected final String key
protected final com.google.common.base.Optional<String> value
| Constructor Detail |
|---|
protected Tag(String resourceId,
String resourceType,
String key,
com.google.common.base.Optional<String> value)
| Method Detail |
|---|
public static Tag.Builder builder()
public Tag.Builder toBuilder()
public String getResourceId()
public String getResourceType()
public String getKey()
public com.google.common.base.Optional<String> getValue()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectprotected com.google.common.base.Objects.ToStringHelper string()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||