public static final class PolicyIdsEventFlowData.Builder
extends java.lang.Object
PolicyIdsEventFlowData.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
PolicyIdsEventFlowData. |
| Modifier and Type | Method and Description |
|---|---|
PolicyIdsEventFlowData |
build() |
PolicyIdsEventFlowData.Builder |
setActionType(java.lang.String actionType)
Possible values are:
PolicyIdsEventFlowData.ACTION_TYPE_ALERT
PolicyIdsEventFlowData.ACTION_TYPE_DROP
PolicyIdsEventFlowData.ACTION_TYPE_REJECT
PolicyIdsEventFlowData.ACTION_TYPE_INVALID
The action pertaining to the detected intrusion. |
PolicyIdsEventFlowData.Builder |
setBytesToclient(java.lang.Long bytesToclient)
Bytes sent to client.
|
PolicyIdsEventFlowData.Builder |
setBytesToserver(java.lang.Long bytesToserver)
Bytes sent to server.
|
PolicyIdsEventFlowData.Builder |
setClientIp(java.lang.String clientIp)
IP address of the VM that initiated the communication.
|
PolicyIdsEventFlowData.Builder |
setDestinationIp(java.lang.String destinationIp)
IP address of the destination VM on the intrusion flow.
|
PolicyIdsEventFlowData.Builder |
setDestinationPort(java.lang.Long destinationPort)
Port on the destination VM where the traffic was sent to.
|
PolicyIdsEventFlowData.Builder |
setGateway(java.lang.String gateway)
Name of the gateway on which this intrusion was detected.
|
PolicyIdsEventFlowData.Builder |
setGatewayTags(java.util.List<Tag> gatewayTags)
Tags associated with the gateway on which this intrusion was detected.
|
PolicyIdsEventFlowData.Builder |
setHost(java.lang.String host)
Name of the host on which this intrusion was detected.
|
PolicyIdsEventFlowData.Builder |
setLocalVmIp(java.lang.String localVmIp)
IP address of VM on the host where IDS engine is running.
|
PolicyIdsEventFlowData.Builder |
setProfileId(java.lang.String profileId)
The IDS profile id that is associated with the IDS rule pertaining to the
intrusion event detected.
|
PolicyIdsEventFlowData.Builder |
setProtocol(java.lang.String protocol)
Traffic protocol pertaining to the detected intrusion, could be TCP/UDP etc.
|
PolicyIdsEventFlowData.Builder |
setRuleId(java.lang.Long ruleId)
The IDS Rule id pertaining to the detected intrusion.
|
PolicyIdsEventFlowData.Builder |
setSourceIp(java.lang.String sourceIp)
IP address of the source VM on the intrusion flow.
|
PolicyIdsEventFlowData.Builder |
setSourcePort(java.lang.Long sourcePort)
Source port through which traffic was initiated that caused the intrusion to be
detected.
|
PolicyIdsEventFlowData.Builder |
setTrafficType(java.lang.String trafficType)
Possible values are:
PolicyIdsEventFlowData.TRAFFIC_TYPE_GATEWAY
PolicyIdsEventFlowData.TRAFFIC_TYPE_HOST
The source where the intrusion was detected. |
public Builder()
PolicyIdsEventFlowData.public PolicyIdsEventFlowData.Builder setActionType(java.lang.String actionType)
actionType - New value for the property.public PolicyIdsEventFlowData.Builder setBytesToclient(java.lang.Long bytesToclient)
bytesToclient - New value for the property.public PolicyIdsEventFlowData.Builder setBytesToserver(java.lang.Long bytesToserver)
bytesToserver - New value for the property.public PolicyIdsEventFlowData.Builder setClientIp(java.lang.String clientIp)
clientIp - New value for the property.public PolicyIdsEventFlowData.Builder setDestinationIp(java.lang.String destinationIp)
destinationIp - New value for the property.public PolicyIdsEventFlowData.Builder setDestinationPort(java.lang.Long destinationPort)
destinationPort - New value for the property.public PolicyIdsEventFlowData.Builder setGateway(java.lang.String gateway)
gateway - New value for the property.public PolicyIdsEventFlowData.Builder setGatewayTags(java.util.List<Tag> gatewayTags)
gatewayTags - New value for the property.public PolicyIdsEventFlowData.Builder setHost(java.lang.String host)
host - New value for the property.public PolicyIdsEventFlowData.Builder setLocalVmIp(java.lang.String localVmIp)
localVmIp - New value for the property.public PolicyIdsEventFlowData.Builder setProfileId(java.lang.String profileId)
profileId - New value for the property.public PolicyIdsEventFlowData.Builder setProtocol(java.lang.String protocol)
protocol - New value for the property.public PolicyIdsEventFlowData.Builder setRuleId(java.lang.Long ruleId)
ruleId - New value for the property.public PolicyIdsEventFlowData.Builder setSourceIp(java.lang.String sourceIp)
sourceIp - New value for the property.public PolicyIdsEventFlowData.Builder setSourcePort(java.lang.Long sourcePort)
sourcePort - New value for the property.public PolicyIdsEventFlowData.Builder setTrafficType(java.lang.String trafficType)
trafficType - New value for the property.public PolicyIdsEventFlowData build()