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.StaticStructureIntrusion 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 classPolicyIdsEventsSummary.BuilderBuilder 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.protectedPolicyIdsEventsSummary(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()booleanequals(java.lang.Object obj)java.lang.LonggetAffectedIpCount()Count of workload IPs on which a particular signature was detected.java.lang.LonggetAffectedVmCount()Count of VMs on which a particular signature was detected.java.lang.LonggetFirstOccurence()First occurence of the intrusion, in epoch milliseconds.com.vmware.vapi.bindings.StructuregetIdsFlowDetails()IDS event flow data specific to each IDS event.java.lang.BooleangetIsOngoing()Flag indicating an ongoing intrusion.java.lang.BooleangetIsRuleValid()Indicates if the rule id is valid or not.java.lang.LonggetLatestOccurence()Latest occurence of the intrusion, in epoch milliseconds.java.lang.StringgetPcapId()ID of the packet-capture associated with an event.java.lang.StringgetProjectId()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.StringgetProjectPath()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.StringgetResourceType()IDSEvent resource type.java.lang.LonggetRuleId()The IDS Rule id that detected this particular intrusion.java.lang.LonggetSignatureId()Signature ID pertaining to the detected intrusion.com.vmware.vapi.bindings.StructuregetSignatureMetadata()Metadata about the detected signature including name, id, severity, product affected, protocol etc.java.lang.StringgetSiteId()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.LonggetTotalCount()Number of times this particular signature was detected.com.vmware.vapi.bindings.StructuregetUserDetails()List of users logged into VMs on which a particular signature was detected.com.vmware.vapi.bindings.StructuregetVmDetails()List of VMs on which a particular signature was detected with the count.inthashCode()voidsetAffectedIpCount(java.lang.Long affectedIpCount)Count of workload IPs on which a particular signature was detected.voidsetAffectedVmCount(java.lang.Long affectedVmCount)Count of VMs on which a particular signature was detected.voidsetFirstOccurence(java.lang.Long firstOccurence)First occurence of the intrusion, in epoch milliseconds.voidsetIdsFlowDetails(com.vmware.vapi.bindings.Structure idsFlowDetails)IDS event flow data specific to each IDS event.voidsetIsOngoing(java.lang.Boolean isOngoing)Flag indicating an ongoing intrusion.voidsetIsRuleValid(java.lang.Boolean isRuleValid)Indicates if the rule id is valid or not.voidsetLatestOccurence(java.lang.Long latestOccurence)Latest occurence of the intrusion, in epoch milliseconds.voidsetPcapId(java.lang.String pcapId)ID of the packet-capture associated with an event.voidsetProjectId(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.voidsetProjectPath(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.voidsetResourceType(java.lang.String resourceType)IDSEvent resource type.voidsetRuleId(java.lang.Long ruleId)The IDS Rule id that detected this particular intrusion.voidsetSignatureId(java.lang.Long signatureId)Signature ID pertaining to the detected intrusion.voidsetSignatureMetadata(com.vmware.vapi.bindings.Structure signatureMetadata)Metadata about the detected signature including name, id, severity, product affected, protocol etc.voidsetSiteId(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.voidsetTotalCount(java.lang.Long totalCount)Number of times this particular signature was detected.voidsetUserDetails(com.vmware.vapi.bindings.Structure userDetails)List of users logged into VMs on which a particular signature was detected.voidsetVmDetails(com.vmware.vapi.bindings.Structure vmDetails)List of VMs on which a particular signature was detected with the count.java.lang.StringtoString()
-
-
-
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:
_getTypein interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValuein interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validatein interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toStringin interfacecom.vmware.vapi.bindings.StaticStructure- Overrides:
toStringin classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOfin interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertToin interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)- Specified by:
_setDynamicFieldin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicFieldin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNamesin 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:
StructTypeinstance representing the static bindings type for thisStructure.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalNamein 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.
-
-