public final class IdsEventFlowData
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
IdsEventFlowData.Builder
Builder class for
IdsEventFlowData . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
ACTION_TYPE_ALERT |
static java.lang.String |
ACTION_TYPE_DROP |
static java.lang.String |
ACTION_TYPE_INVALID |
static java.lang.String |
ACTION_TYPE_REJECT |
Modifier | Constructor and Description |
---|---|
|
IdsEventFlowData()
Default constructor.
|
protected |
IdsEventFlowData(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
Modifier and Type | Method and Description |
---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.StructType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
static IdsEventFlowData |
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value. WARNING: The returned object is not fully initialized. |
static IdsEventFlowData |
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getActionType()
Possible values are:
ACTION_TYPE_ALERT ACTION_TYPE_DROP ACTION_TYPE_REJECT ACTION_TYPE_INVALID The action
pertaining to the detected intrusion. |
java.lang.Long |
getBytesToclient()
Bytes sent to client.
|
java.lang.Long |
getBytesToserver()
Bytes sent to server.
|
java.lang.String |
getClientIp()
IP address of the VM that initiated the communication.
|
java.lang.String |
getDestinationIp()
IP address of the destination VM on the intrusion flow.
|
java.lang.Long |
getDestinationPort()
Port on the destination VM where the traffic was sent to.
|
java.lang.String |
getLocalVmIp()
IP address of VM on the host where IDS engine is running.
|
java.lang.String |
getProfileId()
The IDS profile id that is associated with the IDS rule pertaining to the
intrusion event detected.
|
java.lang.String |
getProtocol()
Traffic protocol pertaining to the detected intrusion, could be TCP/UDP etc.
|
java.lang.Long |
getRuleId()
The IDS Rule id pertaining to the detected intrusion.
|
java.lang.String |
getSourceIp()
IP address of the source VM on the intrusion flow.
|
java.lang.Long |
getSourcePort()
Source port through which traffic was initiated that caused the intrusion to be
detected.
|
int |
hashCode() |
void |
setActionType(java.lang.String actionType)
Possible values are:
ACTION_TYPE_ALERT ACTION_TYPE_DROP ACTION_TYPE_REJECT ACTION_TYPE_INVALID The action
pertaining to the detected intrusion. |
void |
setBytesToclient(java.lang.Long bytesToclient)
Bytes sent to client.
|
void |
setBytesToserver(java.lang.Long bytesToserver)
Bytes sent to server.
|
void |
setClientIp(java.lang.String clientIp)
IP address of the VM that initiated the communication.
|
void |
setDestinationIp(java.lang.String destinationIp)
IP address of the destination VM on the intrusion flow.
|
void |
setDestinationPort(java.lang.Long destinationPort)
Port on the destination VM where the traffic was sent to.
|
void |
setLocalVmIp(java.lang.String localVmIp)
IP address of VM on the host where IDS engine is running.
|
void |
setProfileId(java.lang.String profileId)
The IDS profile id that is associated with the IDS rule pertaining to the
intrusion event detected.
|
void |
setProtocol(java.lang.String protocol)
Traffic protocol pertaining to the detected intrusion, could be TCP/UDP etc.
|
void |
setRuleId(java.lang.Long ruleId)
The IDS Rule id pertaining to the detected intrusion.
|
void |
setSourceIp(java.lang.String sourceIp)
IP address of the source VM on the intrusion flow.
|
void |
setSourcePort(java.lang.Long sourcePort)
Source port through which traffic was initiated that caused the intrusion to be
detected.
|
java.lang.String |
toString() |
public static final java.lang.String ACTION_TYPE_ALERT
public static final java.lang.String ACTION_TYPE_DROP
public static final java.lang.String ACTION_TYPE_REJECT
public static final java.lang.String ACTION_TYPE_INVALID
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public IdsEventFlowData()
protected IdsEventFlowData(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.String getActionType()
public void setActionType(java.lang.String actionType)
actionType
- New value for the property.public java.lang.Long getBytesToclient()
public void setBytesToclient(java.lang.Long bytesToclient)
bytesToclient
- New value for the property.public java.lang.Long getBytesToserver()
public void setBytesToserver(java.lang.Long bytesToserver)
bytesToserver
- New value for the property.public java.lang.String getClientIp()
public void setClientIp(java.lang.String clientIp)
clientIp
- New value for the property.public java.lang.String getDestinationIp()
public void setDestinationIp(java.lang.String destinationIp)
destinationIp
- New value for the property.public java.lang.Long getDestinationPort()
public void setDestinationPort(java.lang.Long destinationPort)
destinationPort
- New value for the property.public java.lang.String getLocalVmIp()
public void setLocalVmIp(java.lang.String localVmIp)
localVmIp
- New value for the property.public java.lang.String getProfileId()
public void setProfileId(java.lang.String profileId)
profileId
- New value for the property.public java.lang.String getProtocol()
public void setProtocol(java.lang.String protocol)
protocol
- New value for the property.public java.lang.Long getRuleId()
public void setRuleId(java.lang.Long ruleId)
ruleId
- New value for the property.public java.lang.String getSourceIp()
public void setSourceIp(java.lang.String sourceIp)
sourceIp
- New value for the property.public java.lang.Long getSourcePort()
public void setSourcePort(java.lang.Long sourcePort)
sourcePort
- New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue
in interface com.vmware.vapi.bindings.Structure
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate
in interface com.vmware.vapi.bindings.StaticStructure
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface com.vmware.vapi.bindings.StaticStructure
toString
in class java.lang.Object
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf
in interface com.vmware.vapi.bindings.Structure
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo
in interface com.vmware.vapi.bindings.Structure
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames
in interface com.vmware.vapi.bindings.StaticStructure
public static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType
instance representing the static bindings
type for this Structure
.public java.lang.String _getCanonicalName()
_getCanonicalName
in interface com.vmware.vapi.bindings.Structure
public static java.lang.String _getCanonicalTypeName()
_getCanonicalName()
.public static IdsEventFlowData _newInstance(com.vmware.vapi.data.StructValue structValue)
structValue
- the source of the data contained in the binding object. Could
contain more data than fields of this class can describe i.e.
newer version of the binding object. Could be null.StructType
public static IdsEventFlowData _newInstance2(com.vmware.vapi.data.StructValue structValue)