org.jclouds.vcloud.director.v1_5.domain.params
Class ControlAccessParams

java.lang.Object
  extended by org.jclouds.vcloud.director.v1_5.domain.params.ControlAccessParams

public class ControlAccessParams
extends Object

Used to control access to resources.

 <complexType name="ControlAccessParams" />
 

Since:
0.9

Nested Class Summary
static class ControlAccessParams.Builder
           
 
Field Summary
protected  List<AccessSetting> accessSettings
           
protected  String everyoneAccessLevel
           
protected  Boolean sharedToEveryone
           
 
Constructor Summary
protected ControlAccessParams()
           
  ControlAccessParams(Boolean sharedToEveryone, String everyoneAccessLevel, Iterable<AccessSetting> accessSettings)
           
 
Method Summary
static ControlAccessParams.Builder builder()
           
 boolean equals(Object o)
           
 List<AccessSetting> getAccessSettings()
          The access settings to be applied if isSharedToEveryone() is false.
 String getEveryoneAccessLevel()
          If isSharedToEveryone() is true, this element must be present and determines the access level.
 int hashCode()
           
 Boolean isSharedToEveryone()
          If true, this means that the resource is shared with everyone in the organization.
 ControlAccessParams.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

sharedToEveryone

protected Boolean sharedToEveryone

everyoneAccessLevel

protected String everyoneAccessLevel

accessSettings

protected List<AccessSetting> accessSettings
Constructor Detail

ControlAccessParams

protected ControlAccessParams()

ControlAccessParams

public ControlAccessParams(Boolean sharedToEveryone,
                           String everyoneAccessLevel,
                           Iterable<AccessSetting> accessSettings)
Method Detail

builder

public static ControlAccessParams.Builder builder()

toBuilder

public ControlAccessParams.Builder toBuilder()

isSharedToEveryone

public Boolean isSharedToEveryone()
If true, this means that the resource is shared with everyone in the organization. Defaults to false. Sharing settings must be manipulated through the organization.


getEveryoneAccessLevel

public String getEveryoneAccessLevel()
If isSharedToEveryone() is true, this element must be present and determines the access level.


getAccessSettings

public List<AccessSetting> getAccessSettings()
The access settings to be applied if isSharedToEveryone() is false. Required on create and edit if isSharedToEveryone() is false.


equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


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