Package com.vmware.nsx_policy.model
Class AntreaTraceflowIpHeader.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.AntreaTraceflowIpHeader.Builder
-
- Enclosing class:
- AntreaTraceflowIpHeader
public static final class AntreaTraceflowIpHeader.Builder extends java.lang.Object
Builder class forAntreaTraceflowIpHeader
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofAntreaTraceflowIpHeader
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AntreaTraceflowIpHeader
build()
AntreaTraceflowIpHeader.Builder
setDstIp(java.lang.String dstIp)
Destination ip address in IpHeader.AntreaTraceflowIpHeader.Builder
setFlags(java.lang.Long flags)
Protocol setting in IpHeader.AntreaTraceflowIpHeader.Builder
setProtocol(java.lang.Long protocol)
Protocol setting in IpHeader.AntreaTraceflowIpHeader.Builder
setSrcIp(java.lang.String srcIp)
Source ip address in IpHeader.AntreaTraceflowIpHeader.Builder
setTtl(java.lang.Long ttl)
TTL value in IpHeader.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofAntreaTraceflowIpHeader
.
-
-
Method Detail
-
setDstIp
public AntreaTraceflowIpHeader.Builder setDstIp(java.lang.String dstIp)
Destination ip address in IpHeader.- Parameters:
dstIp
- New value for the property.
-
setFlags
public AntreaTraceflowIpHeader.Builder setFlags(java.lang.Long flags)
Protocol setting in IpHeader. format: int64- Parameters:
flags
- New value for the property.
-
setProtocol
public AntreaTraceflowIpHeader.Builder setProtocol(java.lang.Long protocol)
Protocol setting in IpHeader. format: int64- Parameters:
protocol
- New value for the property.
-
setSrcIp
public AntreaTraceflowIpHeader.Builder setSrcIp(java.lang.String srcIp)
Source ip address in IpHeader.- Parameters:
srcIp
- New value for the property.
-
setTtl
public AntreaTraceflowIpHeader.Builder setTtl(java.lang.Long ttl)
TTL value in IpHeader. Default is 64. format: int64- Parameters:
ttl
- New value for the property.
-
build
public AntreaTraceflowIpHeader build()
-
-