public final class Tags extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Tags.Builder
A builder for
Tags objects. |
| Modifier and Type | Method and Description |
|---|---|
static Tags.Builder |
builder(Iterable<String> values)
Returns a builder for a
Tags object given the tags to apply to the instance. |
static Tags.Builder |
builder(String... values)
Returns a builder for a
Tags object given the tags to apply to the instance. |
boolean |
equals(Object obj) |
String |
fingerprint()
Returns the fingerprint for the tags.
|
int |
hashCode() |
static Tags |
of(Iterable<String> values)
Returns a
Tags object given the tags to apply to the instance. |
static Tags |
of(String... values)
Returns a
Tags object given the tags to apply to the instance. |
Tags.Builder |
toBuilder()
Returns a builder for the current instance tags.
|
String |
toString() |
List<String> |
values()
Returns a list of tags to apply to an instance.
|
public List<String> values()
public String fingerprint()
public Tags.Builder toBuilder()
public static Tags.Builder builder(Iterable<String> values)
Tags object given the tags to apply to the instance. Each tag
within the list must comply with RFC1035.public static Tags.Builder builder(String... values)
Tags object given the tags to apply to the instance. Each tag
within the list must comply with RFC1035.public static Tags of(Iterable<String> values)
Tags object given the tags to apply to the instance. Each tag within the
list must comply with RFC1035.Copyright © 2016 Google. All rights reserved.