org.jclouds.vcloud.director.v1_5.domain.params
Class ControlAccessParams
java.lang.Object
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
sharedToEveryone
protected Boolean sharedToEveryone
everyoneAccessLevel
protected String everyoneAccessLevel
accessSettings
protected List<AccessSetting> accessSettings
ControlAccessParams
protected ControlAccessParams()
ControlAccessParams
public ControlAccessParams(Boolean sharedToEveryone,
String everyoneAccessLevel,
Iterable<AccessSetting> accessSettings)
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.