public class PermissionEvent extends AuthorizationEvent
Java class for PermissionEvent complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PermissionEvent">
<complexContent>
<extension base="{urn:vim25}AuthorizationEvent">
<sequence>
<element name="entity" type="{urn:vim25}ManagedEntityEventArgument"/>
<element name="principal" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="group" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ManagedEntityEventArgument |
entity |
protected boolean |
group |
protected String |
principal |
chainId, changeTag, computeResource, createdTime, datacenter, ds, dvs, fullFormattedMessage, host, key, net, userName, vm| Constructor and Description |
|---|
PermissionEvent() |
| Modifier and Type | Method and Description |
|---|---|
ManagedEntityEventArgument |
getEntity()
Gets the value of the entity property.
|
String |
getPrincipal()
Gets the value of the principal property.
|
boolean |
isGroup()
Gets the value of the group property.
|
void |
setEntity(ManagedEntityEventArgument value)
Sets the value of the entity property.
|
void |
setGroup(boolean value)
Sets the value of the group property.
|
void |
setPrincipal(String value)
Sets the value of the principal 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, setVmprotected ManagedEntityEventArgument entity
protected String principal
protected boolean group
public ManagedEntityEventArgument getEntity()
ManagedEntityEventArgumentpublic void setEntity(ManagedEntityEventArgument value)
value - allowed object is
ManagedEntityEventArgumentpublic String getPrincipal()
Stringpublic void setPrincipal(String value)
value - allowed object is
Stringpublic boolean isGroup()
public void setGroup(boolean value)
Copyright © 2018. All rights reserved.