Package com.vmware.nsx_policy.model
Class TraceflowObservationReceivedLogical.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.TraceflowObservationReceivedLogical.Builder
-
- Enclosing class:
- TraceflowObservationReceivedLogical
public static final class TraceflowObservationReceivedLogical.Builder extends java.lang.Object
Builder class forTraceflowObservationReceivedLogical
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTraceflowObservationReceivedLogical
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTraceflowObservationReceivedLogical
.
-
-
Method Detail
-
setComponentId
public TraceflowObservationReceivedLogical.Builder setComponentId(java.lang.String componentId)
The id of the component that received 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:
componentId
- New value for the property.
-
setIpsecVpn
public TraceflowObservationReceivedLogical.Builder setIpsecVpn(TraceflowObservationIpsecVpn ipsecVpn)
- Parameters:
ipsecVpn
- New value for the property.
-
setLportId
public TraceflowObservationReceivedLogical.Builder setLportId(java.lang.String lportId)
The id of the logical port at which the traceflow packet was received 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 TraceflowObservationReceivedLogical.Builder setLportName(java.lang.String lportName)
The name of the logical port at which the traceflow packet was received 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.
-
setSrcComponentId
public TraceflowObservationReceivedLogical.Builder setSrcComponentId(java.lang.String srcComponentId)
The id of the source component from which the traceflow packet was received. 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:
srcComponentId
- New value for the property.
-
setSrcComponentName
public TraceflowObservationReceivedLogical.Builder setSrcComponentName(java.lang.String srcComponentName)
The name of source component from which the traceflow packet was received. 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:
srcComponentName
- New value for the property.
-
setSrcComponentType
public TraceflowObservationReceivedLogical.Builder setSrcComponentType(java.lang.String srcComponentType)
Possible values are:-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_PHYSICAL
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_LR
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_LS
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_DFW
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_BRIDGE
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_EDGE_TUNNEL
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_EDGE_HOSTSWITCH
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_FW_BRIDGE
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_EDGE_RTEP_TUNNEL
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_LOAD_BALANCER
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_NAT
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_IPSEC
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_SERVICE_INSERTION
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_VMC
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_SPOOFGUARD
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_EDGE_FW
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_DLB
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_ANTREA_SPOOFGUARD
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_ANTREA_LB
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_ANTREA_ROUTING
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_ANTREA_DFW
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_ANTREA_FORWARDING
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_HOST_SWITCH
-
TraceflowObservationReceivedLogical.SRC_COMPONENT_TYPE_UNKNOWN
- Parameters:
srcComponentType
- New value for the property.
-
-
setSvcMac
public TraceflowObservationReceivedLogical.Builder setSvcMac(java.lang.String svcMac)
MAC address of SAN volume controller for service insertion(SI) in service VM(SVM) where the traceflow packet was received. 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:
svcMac
- New value for the property.
-
setVlan
public TraceflowObservationReceivedLogical.Builder setVlan(java.lang.Long vlan)
This field is specified when the traceflow packet was received by a VLAN logical network. 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:
vlan
- New value for the property.
-
setVni
public TraceflowObservationReceivedLogical.Builder setVni(java.lang.Long vni)
This field is specified when the traceflow packet was received by an overlay logical network. format: int32 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:
vni
- New value for the property.
-
setComponentName
public TraceflowObservationReceivedLogical.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 TraceflowObservationReceivedLogical.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 TraceflowObservationReceivedLogical.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 TraceflowObservationReceivedLogical.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 TraceflowObservationReceivedLogical.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 TraceflowObservationReceivedLogical.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 TraceflowObservationReceivedLogical.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 TraceflowObservationReceivedLogical.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 TraceflowObservationReceivedLogical.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 TraceflowObservationReceivedLogical.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 TraceflowObservationReceivedLogical build()
-
-