Package com.vmware.nsx.model
Class IDSEventsSummary.Builder
- java.lang.Object
-
- com.vmware.nsx.model.IDSEventsSummary.Builder
-
- Enclosing class:
- IDSEventsSummary
public static final class IDSEventsSummary.Builder extends java.lang.Object
Builder class forIDSEventsSummary
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofIDSEventsSummary
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IDSEventsSummary
build()
IDSEventsSummary.Builder
setAffectedVmCount(java.lang.Long affectedVmCount)
Count of VMs on which a particular signature was detected.IDSEventsSummary.Builder
setFirstOccurence(java.lang.Long firstOccurence)
First occurence of the intrusion, in epoch milliseconds.IDSEventsSummary.Builder
setIdsflowDetails(com.vmware.vapi.bindings.Structure idsflowDetails)
IDS event flow data specific to each IDS event.IDSEventsSummary.Builder
setIsOngoing(java.lang.Boolean isOngoing)
Flag indicating an ongoing intrusion.IDSEventsSummary.Builder
setIsRuleValid(java.lang.Boolean isRuleValid)
Indicates if the rule id is valid or not.IDSEventsSummary.Builder
setLatestOccurence(java.lang.Long latestOccurence)
Latest occurence of the intrusion, in epoch milliseconds.IDSEventsSummary.Builder
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.IDSEventsSummary.Builder
setResourceType(java.lang.String resourceType)
IDSEvent resource type.IDSEventsSummary.Builder
setRuleId(java.lang.Long ruleId)
The IDS Rule id that detected this particular intrusion.IDSEventsSummary.Builder
setSchema(java.lang.String schema)
Schema for this resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.IDSEventsSummary.Builder
setSelf(SelfResourceLink self)
IDSEventsSummary.Builder
setSignatureId(java.lang.Long signatureId)
Signature ID pertaining to the detected intrusion.IDSEventsSummary.Builder
setSignatureMetadata(com.vmware.vapi.bindings.Structure signatureMetadata)
Metadata about the detected signature including name, id, severity, product affected, protocol etc.IDSEventsSummary.Builder
setTotalCount(java.lang.Long totalCount)
Number of times this particular signature was detected.IDSEventsSummary.Builder
setUserDetails(com.vmware.vapi.bindings.Structure userDetails)
List of users logged into VMs on which a particular signature was detected.IDSEventsSummary.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 ofIDSEventsSummary
.
-
-
Method Detail
-
setLinks
public IDSEventsSummary.Builder setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource. Ignored on PUT and POST. 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:
links
- New value for the property.
-
setSchema
public IDSEventsSummary.Builder setSchema(java.lang.String schema)
Schema for this resource 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:
schema
- New value for the property.
-
setSelf
public IDSEventsSummary.Builder setSelf(SelfResourceLink self)
- Parameters:
self
- New value for the property.
-
setAffectedVmCount
public IDSEventsSummary.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 IDSEventsSummary.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 IDSEventsSummary.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 IDSEventsSummary.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 IDSEventsSummary.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 IDSEventsSummary.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.
-
setResourceType
public IDSEventsSummary.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 IDSEventsSummary.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 IDSEventsSummary.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 IDSEventsSummary.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.
-
setTotalCount
public IDSEventsSummary.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 IDSEventsSummary.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 IDSEventsSummary.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 IDSEventsSummary build()
-
-