|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.googlecloudstorage.domain.Resource
public class Resource
Base class for Google Cloud Storage resources.
| Nested Class Summary | |
|---|---|
static class |
Resource.Builder<T extends Resource.Builder<T>>
|
static class |
Resource.Kind
|
| Field Summary | |
|---|---|
protected String |
etag
|
protected String |
id
|
protected Resource.Kind |
kind
|
protected URI |
selfLink
|
| Constructor Summary | |
|---|---|
protected |
Resource(Resource.Kind kind,
String id,
URI selfLink,
String etag)
|
| Method Summary | |
|---|---|
static Resource.Builder<?> |
builder()
|
boolean |
equals(Object obj)
|
String |
getEtag()
|
String |
getId()
|
Resource.Kind |
getKind()
|
URI |
getSelfLink()
|
int |
hashCode()
|
protected com.google.common.base.Objects.ToStringHelper |
string()
|
Resource.Builder<?> |
toBuilder()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final Resource.Kind kind
protected final String id
protected final URI selfLink
protected final String etag
| Constructor Detail |
|---|
@ConstructorProperties(value={"kind","id","selfLink","etag"})
protected Resource(Resource.Kind kind,
@Nullable
String id,
@Nullable
URI selfLink,
@Nullable
String etag)
| Method Detail |
|---|
public Resource.Kind getKind()
public String getId()
public URI getSelfLink()
public String getEtag()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectprotected com.google.common.base.Objects.ToStringHelper string()
public String toString()
toString in class Objectpublic static Resource.Builder<?> builder()
public Resource.Builder<?> toBuilder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||