org.jclouds.googlecloudstorage.domain
Class ObjectAccessControls

java.lang.Object
  extended by org.jclouds.googlecloudstorage.domain.Resource
      extended by org.jclouds.googlecloudstorage.domain.ObjectAccessControls

public class ObjectAccessControls
extends Resource

Represents a Object Access Control Resource.

See Also:

Nested Class Summary
static class ObjectAccessControls.Builder
           
 
Nested classes/interfaces inherited from class org.jclouds.googlecloudstorage.domain.Resource
Resource.Kind
 
Field Summary
protected  String bucket
           
protected  String domain
           
protected  String email
           
protected  String entity
           
protected  String entityId
           
protected  Long generation
           
protected  String object
           
protected  ProjectTeam projectTeam
           
protected  DomainResourceReferences.ObjectRole role
           
 
Fields inherited from class org.jclouds.googlecloudstorage.domain.Resource
etag, id, kind, selfLink
 
Constructor Summary
protected ObjectAccessControls(String id, URI selfLink, String etag, String bucket, String object, Long generation, String entity, String entityId, DomainResourceReferences.ObjectRole role, String email, String domain, ProjectTeam projectTeam)
           
 
Method Summary
static ObjectAccessControls.Builder builder()
           
 boolean equals(Object obj)
           
 String getBucket()
           
 String getDomain()
           
 String getEmail()
           
 String getEntity()
           
 String getEntityId()
           
 Long getGeneration()
           
 String getObject()
           
 ProjectTeam getProjectTeam()
           
 DomainResourceReferences.ObjectRole getRole()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 ObjectAccessControls.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class org.jclouds.googlecloudstorage.domain.Resource
getEtag, getId, getKind, getSelfLink
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

bucket

protected final String bucket

entity

protected final String entity

object

protected final String object

generation

protected final Long generation

role

protected final DomainResourceReferences.ObjectRole role

email

protected final String email

entityId

protected final String entityId

domain

protected final String domain

projectTeam

protected final ProjectTeam projectTeam
Constructor Detail

ObjectAccessControls

protected ObjectAccessControls(@Nullable
                               String id,
                               @Nullable
                               URI selfLink,
                               @Nullable
                               String etag,
                               String bucket,
                               @Nullable
                               String object,
                               @Nullable
                               Long generation,
                               String entity,
                               @Nullable
                               String entityId,
                               DomainResourceReferences.ObjectRole role,
                               @Nullable
                               String email,
                               @Nullable
                               String domain,
                               @Nullable
                               ProjectTeam projectTeam)
Method Detail

getBucket

public String getBucket()

getEntity

public String getEntity()

getRole

public DomainResourceReferences.ObjectRole getRole()

getEmail

public String getEmail()

getObject

public String getObject()

getGeneration

public Long getGeneration()

getDomain

public String getDomain()

getEntityId

public String getEntityId()

getProjectTeam

public ProjectTeam getProjectTeam()

equals

public boolean equals(Object obj)
Overrides:
equals in class Resource

string

protected com.google.common.base.Objects.ToStringHelper string()
Overrides:
string in class Resource

hashCode

public int hashCode()
Overrides:
hashCode in class Resource

toString

public String toString()
Overrides:
toString in class Resource

builder

public static ObjectAccessControls.Builder builder()

toBuilder

public ObjectAccessControls.Builder toBuilder()
Overrides:
toBuilder in class Resource


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.