Package com.vmware.nsx_policy.model
Class Ipv6Header.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.Ipv6Header.Builder
-
- Enclosing class:
- Ipv6Header
public static final class Ipv6Header.Builder extends java.lang.Object
Builder class forIpv6Header
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofIpv6Header
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Ipv6Header
build()
Ipv6Header.Builder
setDstIp(java.lang.String dstIp)
The destination ip address.Ipv6Header.Builder
setHopLimit(java.lang.Long hopLimit)
Decremented by 1 by each node that forwards the packets.Ipv6Header.Builder
setNextHeader(java.lang.Long nextHeader)
Identifies the type of header immediately following the IPv6 header.Ipv6Header.Builder
setSrcIp(java.lang.String srcIp)
The source ip address.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIpv6Header
.
-
-
Method Detail
-
setDstIp
public Ipv6Header.Builder setDstIp(java.lang.String dstIp)
The destination ip address. format: ipv6- Parameters:
dstIp
- New value for the property.
-
setHopLimit
public Ipv6Header.Builder setHopLimit(java.lang.Long hopLimit)
Decremented by 1 by each node that forwards the packets. The packet is discarded if Hop Limit is decremented to zero. format: int64- Parameters:
hopLimit
- New value for the property.
-
setNextHeader
public Ipv6Header.Builder setNextHeader(java.lang.Long nextHeader)
Identifies the type of header immediately following the IPv6 header. format: int64- Parameters:
nextHeader
- New value for the property.
-
setSrcIp
public Ipv6Header.Builder setSrcIp(java.lang.String srcIp)
The source ip address. format: ipv6- Parameters:
srcIp
- New value for the property.
-
build
public Ipv6Header build()
-
-