| Modifier and Type | Class and Description |
|---|---|
static class |
Resource.Builder<T extends Resource.Builder<T>> |
static class |
Resource.Kind |
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.base.Optional<Date> |
creationTimestamp |
protected com.google.common.base.Optional<String> |
description |
protected String |
id |
protected Resource.Kind |
kind |
protected String |
name |
protected URI |
selfLink |
| Modifier | Constructor and Description |
|---|---|
protected |
Resource(Resource.Kind kind,
String id,
Date creationTimestamp,
URI selfLink,
String name,
String description) |
| Modifier and Type | Method and Description |
|---|---|
static Resource.Builder<?> |
builder() |
boolean |
equals(Object obj) |
com.google.common.base.Optional<Date> |
getCreationTimestamp() |
com.google.common.base.Optional<String> |
getDescription() |
String |
getId() |
Resource.Kind |
getKind() |
String |
getName() |
URI |
getSelfLink() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Resource.Builder<?> |
toBuilder() |
String |
toString() |
protected final Resource.Kind kind
protected final String id
protected final com.google.common.base.Optional<Date> creationTimestamp
protected final URI selfLink
protected final String name
protected final com.google.common.base.Optional<String> description
@ConstructorProperties(value={"kind","id","creationTimestamp","selfLink","name","description"}) protected Resource(Resource.Kind kind, String id, Date creationTimestamp, URI selfLink, String name, String description)
public Resource.Kind getKind()
public String getId()
public com.google.common.base.Optional<Date> getCreationTimestamp()
public URI getSelfLink()
public String getName()
@Nullable public com.google.common.base.Optional<String> getDescription()
protected com.google.common.base.Objects.ToStringHelper string()
public static Resource.Builder<?> builder()
public Resource.Builder<?> toBuilder()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.