public class RoleAddedEvent extends RoleEvent
Java class for RoleAddedEvent complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RoleAddedEvent">
<complexContent>
<extension base="{urn:vim25}RoleEvent">
<sequence>
<element name="privilegeList" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
privilegeList |
chainId, changeTag, computeResource, createdTime, datacenter, ds, dvs, fullFormattedMessage, host, key, net, userName, vm| Constructor and Description |
|---|
RoleAddedEvent() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getPrivilegeList()
Gets the value of the privilegeList property.
|
getChainId, getChangeTag, getComputeResource, getCreatedTime, getDatacenter, getDs, getDvs, getFullFormattedMessage, getHost, getKey, getNet, getUserName, getVm, setChainId, setChangeTag, setComputeResource, setCreatedTime, setDatacenter, setDs, setDvs, setFullFormattedMessage, setHost, setKey, setNet, setUserName, setVmpublic List<String> getPrivilegeList()
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 privilegeList property.
For example, to add a new item, do as follows:
getPrivilegeList().add(newItem);
Objects of the following type(s) are allowed in the list
String
Copyright © 2018. All rights reserved.