Modifier and Type | Class and Description |
---|---|
static class |
Tag.Builder |
static class |
Tag.ResourceType
Describes the well-known resource types that can be tagged.
|
Modifier and Type | Field and Description |
---|---|
protected String |
key |
protected String |
resourceId |
protected String |
resourceType |
protected com.google.common.base.Optional<String> |
value |
Modifier | Constructor and Description |
---|---|
protected |
Tag(String resourceId,
String resourceType,
String key,
com.google.common.base.Optional<String> value) |
Modifier and Type | Method and Description |
---|---|
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() |
protected final String resourceId
protected final String resourceType
protected final String key
protected final com.google.common.base.Optional<String> value
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()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.