Package com.vmware.nsx_policy.model
Class PolicyTraceflowObservationDropped.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyTraceflowObservationDropped.Builder
-
- Enclosing class:
- PolicyTraceflowObservationDropped
public static final class PolicyTraceflowObservationDropped.Builder extends java.lang.Object
Builder class forPolicyTraceflowObservationDropped
.
-
-
Constructor Summary
Constructors Constructor Description Builder(java.lang.String resourceType)
Constructor with parameters for the required properties ofPolicyTraceflowObservationDropped
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder(java.lang.String resourceType)
Constructor with parameters for the required properties ofPolicyTraceflowObservationDropped
.
-
-
Method Detail
-
setAclRulePath
public PolicyTraceflowObservationDropped.Builder setAclRulePath(java.lang.String aclRulePath)
The path of the ACL rule that was applied to forward the traceflow packet 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:
aclRulePath
- New value for the property.
-
setInterfacePath
public PolicyTraceflowObservationDropped.Builder setInterfacePath(java.lang.String interfacePath)
Path of interface 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:
interfacePath
- New value for the property.
-
setNatRulePath
public PolicyTraceflowObservationDropped.Builder setNatRulePath(java.lang.String natRulePath)
The path of the NAT rule that was applied to forward the traceflow packet 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:
natRulePath
- New value for the property.
-
setSegmentPortPath
public PolicyTraceflowObservationDropped.Builder setSegmentPortPath(java.lang.String segmentPortPath)
Path of segment port 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:
segmentPortPath
- New value for the property.
-
setAclRuleId
public PolicyTraceflowObservationDropped.Builder setAclRuleId(java.lang.Long aclRuleId)
This field is specified when the traceflow packet matched a L3 firewall rule. 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:
aclRuleId
- New value for the property.
-
setArpFailReason
public PolicyTraceflowObservationDropped.Builder setArpFailReason(java.lang.String arpFailReason)
Possible values are:-
TraceflowObservationDropped.ARP_FAIL_REASON_UNKNOWN
-
TraceflowObservationDropped.ARP_FAIL_REASON_TIMEOUT
-
TraceflowObservationDropped.ARP_FAIL_REASON_CPFAIL
-
TraceflowObservationDropped.ARP_FAIL_REASON_FROMCP
-
TraceflowObservationDropped.ARP_FAIL_REASON_PORTDESTROY
-
TraceflowObservationDropped.ARP_FAIL_REASON_TABLEDESTROY
-
TraceflowObservationDropped.ARP_FAIL_REASON_NETDESTROY
- Parameters:
arpFailReason
- New value for the property.
-
-
setIpsecFailReason
public PolicyTraceflowObservationDropped.Builder setIpsecFailReason(java.lang.String ipsecFailReason)
Possible values are:-
TraceflowObservationDropped.IPSEC_FAIL_REASON_SA_NOT_FOUND
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_UDP_ENC_STATE_MISMATCH
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_SEQ_ROLLOVER
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_FRAG_NEEDED
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_TUN_IFACE_DOWN
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_POLICY_NOMATCH
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_POLICY_BLOCK
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_POLICY_ERROR
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_REPLAY_SEQ_NUM_REPEAT
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_REPLAY_RECV_DELAY
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_REPLAY_PROC_DELAY
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_ZERO_SEQ_NUM_RECVD
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_ENQUEUE_FAIL
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_AUTH_DGST_MISMATCH
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_AUTH_DGST_SIZE_MISMATCH
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_AUTH_UNSUPPORTED_ALGO
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_CRYPTO_FAIL
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_CRYPTO_PROC_INCOMPLETE
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_CRYPTO_SESSION_INV
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_CRYPTO_ARGS_INV
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_CRYPTO_PROC_ERROR
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_CRYPTO_NO_BUF_SPACE
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_CRYPTO_UNSUPPORTED_CIPHER
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_MALFORMED
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_MALFORMED_INV_PADDING
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_PADDING_REMOVAL_FAILED
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_INNER_MALFORMED
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_INNER_MALFORMED_IP
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_INNER_MALFORMED_UDP
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_INNER_MALFORMED_TCP
-
TraceflowObservationDropped.IPSEC_FAIL_REASON_UNKNOWN
- Parameters:
ipsecFailReason
- New value for the property.
-
-
setJumptoRuleId
public PolicyTraceflowObservationDropped.Builder setJumptoRuleId(java.lang.Long jumptoRuleId)
This field is specified when the traceflow packet matched a jump-to rule. 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:
jumptoRuleId
- New value for the property.
-
setL2RuleId
public PolicyTraceflowObservationDropped.Builder setL2RuleId(java.lang.Long l2RuleId)
This field is specified when the traceflow packet matched a l2 rule. 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:
l2RuleId
- New value for the property.
-
setLportId
public PolicyTraceflowObservationDropped.Builder setLportId(java.lang.String lportId)
The id of the logical port at which the traceflow packet was dropped 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:
lportId
- New value for the property.
-
setLportName
public PolicyTraceflowObservationDropped.Builder setLportName(java.lang.String lportName)
The name of the logical port at which the traceflow packet was dropped 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:
lportName
- New value for the property.
-
setNatRuleId
public PolicyTraceflowObservationDropped.Builder setNatRuleId(java.lang.Long natRuleId)
This field is specified when the traceflow packet matched a NAT rule. 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:
natRuleId
- New value for the property.
-
setReason
public PolicyTraceflowObservationDropped.Builder setReason(java.lang.String reason)
Possible values are:-
TraceflowObservationDropped.REASON_ARP_FAIL
-
TraceflowObservationDropped.REASON_BFD
-
TraceflowObservationDropped.REASON_BROADCAST
-
TraceflowObservationDropped.REASON_DHCP
-
TraceflowObservationDropped.REASON_DLB
-
TraceflowObservationDropped.REASON_FW_RULE
-
TraceflowObservationDropped.REASON_GENEVE
-
TraceflowObservationDropped.REASON_GRE
-
TraceflowObservationDropped.REASON_IFACE
-
TraceflowObservationDropped.REASON_IP
-
TraceflowObservationDropped.REASON_IP_REASS
-
TraceflowObservationDropped.REASON_IPSEC
-
TraceflowObservationDropped.REASON_IPSEC_VTI
-
TraceflowObservationDropped.REASON_L2VPN
-
TraceflowObservationDropped.REASON_L4PORT
-
TraceflowObservationDropped.REASON_LB
-
TraceflowObservationDropped.REASON_LROUTER
-
TraceflowObservationDropped.REASON_LSERVICE
-
TraceflowObservationDropped.REASON_LSWITCH
-
TraceflowObservationDropped.REASON_MANAGEMENT
-
TraceflowObservationDropped.REASON_MD_PROXY
-
TraceflowObservationDropped.REASON_NAT
-
TraceflowObservationDropped.REASON_RTEP_TUNNEL
-
TraceflowObservationDropped.REASON_ND_NS_FAIL
-
TraceflowObservationDropped.REASON_NEIGH
-
TraceflowObservationDropped.REASON_NO_EIP_FOUND
-
TraceflowObservationDropped.REASON_NO_EIP_ASSOCIATION
-
TraceflowObservationDropped.REASON_NO_ENI_FOR_IP
-
TraceflowObservationDropped.REASON_NO_ENI_FOR_LIF
-
TraceflowObservationDropped.REASON_NO_ROUTE
-
TraceflowObservationDropped.REASON_NO_ROUTE_TABLE_FOUND
-
TraceflowObservationDropped.REASON_NO_UNDERLAY_ROUTE_FOUND
-
TraceflowObservationDropped.REASON_NOT_VDR_DOWNLINK
-
TraceflowObservationDropped.REASON_NO_VDR_FOUND
-
TraceflowObservationDropped.REASON_NO_VDR_ON_HOST
-
TraceflowObservationDropped.REASON_NOT_VDR_UPLINK
-
TraceflowObservationDropped.REASON_SERVICE_INSERT
-
TraceflowObservationDropped.REASON_SPOOFGUARD
-
TraceflowObservationDropped.REASON_TTL_ZERO
-
TraceflowObservationDropped.REASON_TUNNEL
-
TraceflowObservationDropped.REASON_VLAN
-
TraceflowObservationDropped.REASON_VXLAN
-
TraceflowObservationDropped.REASON_VXSTT
-
TraceflowObservationDropped.REASON_VMC_NO_RESPONSE
-
TraceflowObservationDropped.REASON_WRONG_UPLINK
-
TraceflowObservationDropped.REASON_FW_STATE
-
TraceflowObservationDropped.REASON_NO_MAC
-
TraceflowObservationDropped.REASON_UNKNOWN
-
TraceflowObservationDropped.REASON_FILTERED_UPLINK
- Parameters:
reason
- New value for the property.
-
-
setComponentName
public PolicyTraceflowObservationDropped.Builder setComponentName(java.lang.String componentName)
The name of the component that issued the observation. 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:
componentName
- New value for the property.
-
setComponentSubType
public PolicyTraceflowObservationDropped.Builder setComponentSubType(java.lang.String componentSubType)
Possible values are:-
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER0
-
TraceflowObservation.COMPONENT_SUB_TYPE_LR_TIER1
-
TraceflowObservation.COMPONENT_SUB_TYPE_LR_VRF_TIER0
-
TraceflowObservation.COMPONENT_SUB_TYPE_LS_TRANSIT
-
TraceflowObservation.COMPONENT_SUB_TYPE_SI_CLASSIFIER
-
TraceflowObservation.COMPONENT_SUB_TYPE_SI_PROXY
-
TraceflowObservation.COMPONENT_SUB_TYPE_VDR
-
TraceflowObservation.COMPONENT_SUB_TYPE_ENI
-
TraceflowObservation.COMPONENT_SUB_TYPE_AWS_GATEWAY
-
TraceflowObservation.COMPONENT_SUB_TYPE_TGW_ROUTE
-
TraceflowObservation.COMPONENT_SUB_TYPE_EDGE_UPLINK
-
TraceflowObservation.COMPONENT_SUB_TYPE_DELL_GATEWAY
-
TraceflowObservation.COMPONENT_SUB_TYPE_LGW_ROUTE
-
TraceflowObservation.COMPONENT_SUB_TYPE_LR_KNI
-
TraceflowObservation.COMPONENT_SUB_TYPE_UNKNOWN
- Parameters:
componentSubType
- New value for the property.
-
-
setComponentType
public PolicyTraceflowObservationDropped.Builder setComponentType(java.lang.String componentType)
Possible values are:-
TraceflowObservation.COMPONENT_TYPE_PHYSICAL
-
TraceflowObservation.COMPONENT_TYPE_LR
-
TraceflowObservation.COMPONENT_TYPE_LS
-
TraceflowObservation.COMPONENT_TYPE_DFW
-
TraceflowObservation.COMPONENT_TYPE_BRIDGE
-
TraceflowObservation.COMPONENT_TYPE_EDGE_TUNNEL
-
TraceflowObservation.COMPONENT_TYPE_EDGE_HOSTSWITCH
-
TraceflowObservation.COMPONENT_TYPE_FW_BRIDGE
-
TraceflowObservation.COMPONENT_TYPE_EDGE_RTEP_TUNNEL
-
TraceflowObservation.COMPONENT_TYPE_LOAD_BALANCER
-
TraceflowObservation.COMPONENT_TYPE_NAT
-
TraceflowObservation.COMPONENT_TYPE_IPSEC
-
TraceflowObservation.COMPONENT_TYPE_SERVICE_INSERTION
-
TraceflowObservation.COMPONENT_TYPE_VMC
-
TraceflowObservation.COMPONENT_TYPE_SPOOFGUARD
-
TraceflowObservation.COMPONENT_TYPE_EDGE_FW
-
TraceflowObservation.COMPONENT_TYPE_DLB
-
TraceflowObservation.COMPONENT_TYPE_ANTREA_SPOOFGUARD
-
TraceflowObservation.COMPONENT_TYPE_ANTREA_LB
-
TraceflowObservation.COMPONENT_TYPE_ANTREA_ROUTING
-
TraceflowObservation.COMPONENT_TYPE_ANTREA_DFW
-
TraceflowObservation.COMPONENT_TYPE_ANTREA_FORWARDING
-
TraceflowObservation.COMPONENT_TYPE_HOST_SWITCH
-
TraceflowObservation.COMPONENT_TYPE_UNKNOWN
- Parameters:
componentType
- New value for the property.
-
-
setSequenceNo
public PolicyTraceflowObservationDropped.Builder setSequenceNo(java.lang.Long sequenceNo)
the hop count for observations on the transport node that a traceflow packet is injected in will be 0. The hop count is incremented each time a subsequent transport node receives the traceflow packet. The sequence number of 999 indicates that the hop count could not be determined for the containing observation. 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:
sequenceNo
- New value for the property.
-
setSitePath
public PolicyTraceflowObservationDropped.Builder setSitePath(java.lang.String sitePath)
This field contains the site path where this observation was generated. 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:
sitePath
- New value for the property.
-
setTimestamp
public PolicyTraceflowObservationDropped.Builder setTimestamp(java.lang.Long timestamp)
Timestamp when the observation was created by the transport node (milliseconds epoch) 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:
timestamp
- New value for the property.
-
setTimestampMicro
public PolicyTraceflowObservationDropped.Builder setTimestampMicro(java.lang.Long timestampMicro)
Timestamp when the observation was created by the transport node (microseconds epoch) 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:
timestampMicro
- New value for the property.
-
setTransportNodeId
public PolicyTraceflowObservationDropped.Builder setTransportNodeId(java.lang.String transportNodeId)
id of the transport node that observed a traceflow packet 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:
transportNodeId
- New value for the property.
-
setTransportNodeName
public PolicyTraceflowObservationDropped.Builder setTransportNodeName(java.lang.String transportNodeName)
name of the transport node that observed a traceflow packet 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:
transportNodeName
- New value for the property.
-
setTransportNodeType
public PolicyTraceflowObservationDropped.Builder setTransportNodeType(java.lang.String transportNodeType)
Possible values are:-
TraceflowObservation.TRANSPORT_NODE_TYPE_ESX
-
TraceflowObservation.TRANSPORT_NODE_TYPE_RHELKVM
-
TraceflowObservation.TRANSPORT_NODE_TYPE_UBUNTUKVM
-
TraceflowObservation.TRANSPORT_NODE_TYPE_CENTOSKVM
-
TraceflowObservation.TRANSPORT_NODE_TYPE_RHELCONTAINER
-
TraceflowObservation.TRANSPORT_NODE_TYPE_CENTOSCONTAINER
-
TraceflowObservation.TRANSPORT_NODE_TYPE_RHELSERVER
-
TraceflowObservation.TRANSPORT_NODE_TYPE_UBUNTUSERVER
-
TraceflowObservation.TRANSPORT_NODE_TYPE_CENTOSSERVER
-
TraceflowObservation.TRANSPORT_NODE_TYPE_SLESKVM
-
TraceflowObservation.TRANSPORT_NODE_TYPE_SLESSERVER
-
TraceflowObservation.TRANSPORT_NODE_TYPE_WINDOWSSERVER
-
TraceflowObservation.TRANSPORT_NODE_TYPE_RHELSMARTNIC
-
TraceflowObservation.TRANSPORT_NODE_TYPE_OELSERVER
-
TraceflowObservation.TRANSPORT_NODE_TYPE_UBUNTUSMARTNIC
-
TraceflowObservation.TRANSPORT_NODE_TYPE_EDGE
-
TraceflowObservation.TRANSPORT_NODE_TYPE_PUBLIC_CLOUD_GATEWAY_NODE
-
TraceflowObservation.TRANSPORT_NODE_TYPE_OTHERS
-
TraceflowObservation.TRANSPORT_NODE_TYPE_HYPERV
- Parameters:
transportNodeType
- New value for the property.
-
-
build
public PolicyTraceflowObservationDropped build()
-
-