public class EntityPrivilege extends DynamicData
Java class for EntityPrivilege complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EntityPrivilege">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="entity" type="{urn:vim25}ManagedObjectReference"/>
<element name="privAvailability" type="{urn:vim25}PrivilegeAvailability" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ManagedObjectReference |
entity |
protected List<PrivilegeAvailability> |
privAvailability |
| Constructor and Description |
|---|
EntityPrivilege() |
| Modifier and Type | Method and Description |
|---|---|
ManagedObjectReference |
getEntity()
Gets the value of the entity property.
|
List<PrivilegeAvailability> |
getPrivAvailability()
Gets the value of the privAvailability property.
|
void |
setEntity(ManagedObjectReference value)
Sets the value of the entity property.
|
protected ManagedObjectReference entity
protected List<PrivilegeAvailability> privAvailability
public ManagedObjectReference getEntity()
ManagedObjectReferencepublic void setEntity(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic List<PrivilegeAvailability> getPrivAvailability()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the privAvailability property.
For example, to add a new item, do as follows:
getPrivAvailability().add(newItem);
Objects of the following type(s) are allowed in the list
PrivilegeAvailability
Copyright © 2018. All rights reserved.