public static final class IDSEventsBySignature.Builder
extends java.lang.Object
IDSEventsBySignature
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
IDSEventsBySignature . |
Modifier and Type | Method and Description |
---|---|
IDSEventsBySignature |
build() |
IDSEventsBySignature.Builder |
setCount(java.lang.Long count)
Number of times this particular signature was detected.
|
IDSEventsBySignature.Builder |
setFirstOccurence(java.lang.Long firstOccurence)
First occurence of the intrusion, in epoch milliseconds.
|
IDSEventsBySignature.Builder |
setIsOngoing(java.lang.Boolean isOngoing)
Flag indicating an ongoing intrusion.
|
IDSEventsBySignature.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
IDSEventsBySignature.Builder |
setResourceType(java.lang.String resourceType)
IDSEvent resource type.
|
IDSEventsBySignature.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.
|
IDSEventsBySignature.Builder |
setSelf(SelfResourceLink self) |
IDSEventsBySignature.Builder |
setSeverity(java.lang.String severity)
Severity of the threat covered by the signature, can be Critical, High, Medium,
or Low.
|
IDSEventsBySignature.Builder |
setSignatureId(java.lang.Long signatureId)
Signature ID pertaining to the detected intrusion.
|
IDSEventsBySignature.Builder |
setSignatureName(java.lang.String signatureName)
Name of the signature pertaining to the detected intrusion.
|
public Builder()
IDSEventsBySignature
.public IDSEventsBySignature.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public IDSEventsBySignature.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public IDSEventsBySignature.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public IDSEventsBySignature.Builder setCount(java.lang.Long count)
count
- New value for the property.public IDSEventsBySignature.Builder setFirstOccurence(java.lang.Long firstOccurence)
firstOccurence
- New value for the property.public IDSEventsBySignature.Builder setIsOngoing(java.lang.Boolean isOngoing)
isOngoing
- New value for the property.public IDSEventsBySignature.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public IDSEventsBySignature.Builder setSeverity(java.lang.String severity)
severity
- New value for the property.public IDSEventsBySignature.Builder setSignatureId(java.lang.Long signatureId)
signatureId
- New value for the property.public IDSEventsBySignature.Builder setSignatureName(java.lang.String signatureName)
signatureName
- New value for the property.public IDSEventsBySignature build()