Class Ipv6Header.Builder

  • Enclosing class:
    Ipv6Header

    public static final class Ipv6Header.Builder
    extends java.lang.Object
    Builder class for Ipv6Header.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of Ipv6Header.
    • 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.