Package com.vmware.nsx_policy.model
Class PolicyIdsEventsSummary
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyIdsEventsSummary
-
- All Implemented Interfaces:
com.vmware.vapi.bindings.StaticStructure
,com.vmware.vapi.bindings.Structure
,java.io.Serializable
public final class PolicyIdsEventsSummary extends java.lang.Object implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Intrusion event with all the event and signature details, each event contains the signature id, name, severity, first and recent occurence, users and VMs affected and other signature metadata.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PolicyIdsEventsSummary.Builder
Builder class forPolicyIdsEventsSummary
.
-
Field Summary
Fields Modifier and Type Field Description protected com.vmware.vapi.data.StructValue
__dynamicStructureFields
-
Constructor Summary
Constructors Modifier Constructor Description PolicyIdsEventsSummary()
Default constructor.protected
PolicyIdsEventsSummary(com.vmware.vapi.data.StructValue __dynamicStructureFields)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends com.vmware.vapi.bindings.Structure>
T_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 PolicyIdsEventsSummary
_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 PolicyIdsEventsSummary
_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.Long
getAffectedIpCount()
Count of workload IPs on which a particular signature was detected.java.lang.Long
getAffectedVmCount()
Count of VMs on which a particular signature was detected.java.lang.Long
getFirstOccurence()
First occurence of the intrusion, in epoch milliseconds.com.vmware.vapi.bindings.Structure
getIdsFlowDetails()
IDS event flow data specific to each IDS event.java.lang.Boolean
getIsOngoing()
Flag indicating an ongoing intrusion.java.lang.Boolean
getIsRuleValid()
Indicates if the rule id is valid or not.java.lang.Long
getLatestOccurence()
Latest occurence of the intrusion, in epoch milliseconds.java.lang.String
getPcapId()
ID of the packet-capture associated with an event.java.lang.String
getProjectId()
Project Identifier This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.lang.String
getProjectPath()
Project path This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.lang.String
getResourceType()
IDSEvent resource type.java.lang.Long
getRuleId()
The IDS Rule id that detected this particular intrusion.java.lang.Long
getSignatureId()
Signature ID pertaining to the detected intrusion.com.vmware.vapi.bindings.Structure
getSignatureMetadata()
Metadata about the detected signature including name, id, severity, product affected, protocol etc.java.lang.String
getSiteId()
Site Identifier This property may be present in responses from the server, but if it is present in a request to server it will be ignored.java.lang.Long
getTotalCount()
Number of times this particular signature was detected.com.vmware.vapi.bindings.Structure
getUserDetails()
List of users logged into VMs on which a particular signature was detected.com.vmware.vapi.bindings.Structure
getVmDetails()
List of VMs on which a particular signature was detected with the count.int
hashCode()
void
setAffectedIpCount(java.lang.Long affectedIpCount)
Count of workload IPs on which a particular signature was detected.void
setAffectedVmCount(java.lang.Long affectedVmCount)
Count of VMs on which a particular signature was detected.void
setFirstOccurence(java.lang.Long firstOccurence)
First occurence of the intrusion, in epoch milliseconds.void
setIdsFlowDetails(com.vmware.vapi.bindings.Structure idsFlowDetails)
IDS event flow data specific to each IDS event.void
setIsOngoing(java.lang.Boolean isOngoing)
Flag indicating an ongoing intrusion.void
setIsRuleValid(java.lang.Boolean isRuleValid)
Indicates if the rule id is valid or not.void
setLatestOccurence(java.lang.Long latestOccurence)
Latest occurence of the intrusion, in epoch milliseconds.void
setPcapId(java.lang.String pcapId)
ID of the packet-capture associated with an event.void
setProjectId(java.lang.String projectId)
Project Identifier This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setProjectPath(java.lang.String projectPath)
Project path This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setResourceType(java.lang.String resourceType)
IDSEvent resource type.void
setRuleId(java.lang.Long ruleId)
The IDS Rule id that detected this particular intrusion.void
setSignatureId(java.lang.Long signatureId)
Signature ID pertaining to the detected intrusion.void
setSignatureMetadata(com.vmware.vapi.bindings.Structure signatureMetadata)
Metadata about the detected signature including name, id, severity, product affected, protocol etc.void
setSiteId(java.lang.String siteId)
Site Identifier This property may be present in responses from the server, but if it is present in a request to server it will be ignored.void
setTotalCount(java.lang.Long totalCount)
Number of times this particular signature was detected.void
setUserDetails(com.vmware.vapi.bindings.Structure userDetails)
List of users logged into VMs on which a particular signature was detected.void
setVmDetails(com.vmware.vapi.bindings.Structure vmDetails)
List of VMs on which a particular signature was detected with the count.java.lang.String
toString()
-
-
-
Method Detail
-
getAffectedIpCount
public java.lang.Long getAffectedIpCount()
Count of workload IPs on which a particular signature was detected. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setAffectedIpCount
public void setAffectedIpCount(java.lang.Long affectedIpCount)
Count of workload IPs on which a particular signature was detected. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
affectedIpCount
- New value for the property.
-
getAffectedVmCount
public java.lang.Long getAffectedVmCount()
Count of VMs on which a particular signature was detected. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setAffectedVmCount
public void setAffectedVmCount(java.lang.Long affectedVmCount)
Count of VMs on which a particular signature was detected. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
affectedVmCount
- New value for the property.
-
getFirstOccurence
public java.lang.Long getFirstOccurence()
First occurence of the intrusion, in epoch milliseconds. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setFirstOccurence
public void setFirstOccurence(java.lang.Long firstOccurence)
First occurence of the intrusion, in epoch milliseconds. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
firstOccurence
- New value for the property.
-
getIdsFlowDetails
public com.vmware.vapi.bindings.Structure getIdsFlowDetails()
IDS event flow data specific to each IDS event. The data includes source ip, source port, destination ip, destination port, and protocol. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setIdsFlowDetails
public void setIdsFlowDetails(com.vmware.vapi.bindings.Structure idsFlowDetails)
IDS event flow data specific to each IDS event. The data includes source ip, source port, destination ip, destination port, and protocol. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
idsFlowDetails
- New value for the property.
-
getIsOngoing
public java.lang.Boolean getIsOngoing()
Flag indicating an ongoing intrusion. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setIsOngoing
public void setIsOngoing(java.lang.Boolean isOngoing)
Flag indicating an ongoing intrusion. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
isOngoing
- New value for the property.
-
getIsRuleValid
public java.lang.Boolean getIsRuleValid()
Indicates if the rule id is valid or not. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setIsRuleValid
public void setIsRuleValid(java.lang.Boolean isRuleValid)
Indicates if the rule id is valid or not. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
isRuleValid
- New value for the property.
-
getLatestOccurence
public java.lang.Long getLatestOccurence()
Latest occurence of the intrusion, in epoch milliseconds. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setLatestOccurence
public void setLatestOccurence(java.lang.Long latestOccurence)
Latest occurence of the intrusion, in epoch milliseconds. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
latestOccurence
- New value for the property.
-
getPcapId
public java.lang.String getPcapId()
ID of the packet-capture associated with an event. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setPcapId
public void setPcapId(java.lang.String pcapId)
ID of the packet-capture associated with an event. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
pcapId
- New value for the property.
-
getProjectId
public java.lang.String getProjectId()
Project Identifier This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setProjectId
public void setProjectId(java.lang.String projectId)
Project Identifier This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
projectId
- New value for the property.
-
getProjectPath
public java.lang.String getProjectPath()
Project path This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setProjectPath
public void setProjectPath(java.lang.String projectPath)
Project path This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
projectPath
- New value for the property.
-
getResourceType
public java.lang.String getResourceType()
IDSEvent resource type. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setResourceType
public void setResourceType(java.lang.String resourceType)
IDSEvent resource type. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
resourceType
- New value for the property.
-
getRuleId
public java.lang.Long getRuleId()
The IDS Rule id that detected this particular intrusion. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setRuleId
public void setRuleId(java.lang.Long ruleId)
The IDS Rule id that detected this particular intrusion. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
ruleId
- New value for the property.
-
getSignatureId
public java.lang.Long getSignatureId()
Signature ID pertaining to the detected intrusion. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setSignatureId
public void setSignatureId(java.lang.Long signatureId)
Signature ID pertaining to the detected intrusion. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
signatureId
- New value for the property.
-
getSignatureMetadata
public com.vmware.vapi.bindings.Structure getSignatureMetadata()
Metadata about the detected signature including name, id, severity, product affected, protocol etc. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setSignatureMetadata
public void setSignatureMetadata(com.vmware.vapi.bindings.Structure signatureMetadata)
Metadata about the detected signature including name, id, severity, product affected, protocol etc. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
signatureMetadata
- New value for the property.
-
getSiteId
public java.lang.String getSiteId()
Site Identifier This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setSiteId
public void setSiteId(java.lang.String siteId)
Site Identifier This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
siteId
- New value for the property.
-
getTotalCount
public java.lang.Long getTotalCount()
Number of times this particular signature was detected. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setTotalCount
public void setTotalCount(java.lang.Long totalCount)
Number of times this particular signature was detected. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
totalCount
- New value for the property.
-
getUserDetails
public com.vmware.vapi.bindings.Structure getUserDetails()
List of users logged into VMs on which a particular signature was detected. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setUserDetails
public void setUserDetails(com.vmware.vapi.bindings.Structure userDetails)
List of users logged into VMs on which a particular signature was detected. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
userDetails
- New value for the property.
-
getVmDetails
public com.vmware.vapi.bindings.Structure getVmDetails()
List of VMs on which a particular signature was detected with the count. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Returns:
- The current value of the property.
-
setVmDetails
public void setVmDetails(com.vmware.vapi.bindings.Structure vmDetails)
List of VMs on which a particular signature was detected with the count. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
vmDetails
- New value for the property.
-
_getType
public com.vmware.vapi.bindings.type.StructType _getType()
- Specified by:
_getType
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValue
in interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validate
in interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacecom.vmware.vapi.bindings.StaticStructure
- Overrides:
toString
in classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOf
in interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertTo
in interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
- Specified by:
_setDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNames
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getClassType
public static com.vmware.vapi.bindings.type.StructType _getClassType()
WARNING: Internal method, subject to change in future versions.- Returns:
StructType
instance representing the static bindings type for thisStructure
.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalName
in interfacecom.vmware.vapi.bindings.Structure
-
_getCanonicalTypeName
public static java.lang.String _getCanonicalTypeName()
Returns the canonical type name. See_getCanonicalName()
.- Returns:
- canonical type name
-
_newInstance
public static PolicyIdsEventsSummary _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.- Parameters:
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.- Returns:
- the static bindings
StructType
-
_newInstance2
public static PolicyIdsEventsSummary _newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.
-
-