Package com.vmware.nsx_policy.model
Class PolicyIdsEventsSummary.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyIdsEventsSummary.Builder
-
- Enclosing class:
- PolicyIdsEventsSummary
public static final class PolicyIdsEventsSummary.Builder extends java.lang.Object
Builder class forPolicyIdsEventsSummary
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPolicyIdsEventsSummary
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyIdsEventsSummary
build()
PolicyIdsEventsSummary.Builder
setAffectedIpCount(java.lang.Long affectedIpCount)
Count of workload IPs on which a particular signature was detected.PolicyIdsEventsSummary.Builder
setAffectedVmCount(java.lang.Long affectedVmCount)
Count of VMs on which a particular signature was detected.PolicyIdsEventsSummary.Builder
setFirstOccurence(java.lang.Long firstOccurence)
First occurence of the intrusion, in epoch milliseconds.PolicyIdsEventsSummary.Builder
setIdsFlowDetails(com.vmware.vapi.bindings.Structure idsFlowDetails)
IDS event flow data specific to each IDS event.PolicyIdsEventsSummary.Builder
setIsOngoing(java.lang.Boolean isOngoing)
Flag indicating an ongoing intrusion.PolicyIdsEventsSummary.Builder
setIsRuleValid(java.lang.Boolean isRuleValid)
Indicates if the rule id is valid or not.PolicyIdsEventsSummary.Builder
setLatestOccurence(java.lang.Long latestOccurence)
Latest occurence of the intrusion, in epoch milliseconds.PolicyIdsEventsSummary.Builder
setPcapId(java.lang.String pcapId)
ID of the packet-capture associated with an event.PolicyIdsEventsSummary.Builder
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.PolicyIdsEventsSummary.Builder
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.PolicyIdsEventsSummary.Builder
setResourceType(java.lang.String resourceType)
IDSEvent resource type.PolicyIdsEventsSummary.Builder
setRuleId(java.lang.Long ruleId)
The IDS Rule id that detected this particular intrusion.PolicyIdsEventsSummary.Builder
setSignatureId(java.lang.Long signatureId)
Signature ID pertaining to the detected intrusion.PolicyIdsEventsSummary.Builder
setSignatureMetadata(com.vmware.vapi.bindings.Structure signatureMetadata)
Metadata about the detected signature including name, id, severity, product affected, protocol etc.PolicyIdsEventsSummary.Builder
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.PolicyIdsEventsSummary.Builder
setTotalCount(java.lang.Long totalCount)
Number of times this particular signature was detected.PolicyIdsEventsSummary.Builder
setUserDetails(com.vmware.vapi.bindings.Structure userDetails)
List of users logged into VMs on which a particular signature was detected.PolicyIdsEventsSummary.Builder
setVmDetails(com.vmware.vapi.bindings.Structure vmDetails)
List of VMs on which a particular signature was detected with the count.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyIdsEventsSummary
.
-
-
Method Detail
-
setAffectedIpCount
public PolicyIdsEventsSummary.Builder 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.
-
setAffectedVmCount
public PolicyIdsEventsSummary.Builder 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.
-
setFirstOccurence
public PolicyIdsEventsSummary.Builder 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.
-
setIdsFlowDetails
public PolicyIdsEventsSummary.Builder 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.
-
setIsOngoing
public PolicyIdsEventsSummary.Builder 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.
-
setIsRuleValid
public PolicyIdsEventsSummary.Builder 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.
-
setLatestOccurence
public PolicyIdsEventsSummary.Builder 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.
-
setPcapId
public PolicyIdsEventsSummary.Builder 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.
-
setProjectId
public PolicyIdsEventsSummary.Builder 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.
-
setProjectPath
public PolicyIdsEventsSummary.Builder 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.
-
setResourceType
public PolicyIdsEventsSummary.Builder 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.
-
setRuleId
public PolicyIdsEventsSummary.Builder 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.
-
setSignatureId
public PolicyIdsEventsSummary.Builder 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.
-
setSignatureMetadata
public PolicyIdsEventsSummary.Builder 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.
-
setSiteId
public PolicyIdsEventsSummary.Builder 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.
-
setTotalCount
public PolicyIdsEventsSummary.Builder 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.
-
setUserDetails
public PolicyIdsEventsSummary.Builder 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.
-
setVmDetails
public PolicyIdsEventsSummary.Builder 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.
-
build
public PolicyIdsEventsSummary build()
-
-