Class MulticastRoute.Builder

  • Enclosing class:
    MulticastRoute

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

      • Builder

        public Builder()
        Constructor with parameters for the required properties of MulticastRoute.
    • Method Detail

      • setGroup

        public MulticastRoute.Builder setGroup​(java.lang.String group)
        Multicast group address. format: ip 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:
        group - New value for the property.
      • setInputInterface

        public MulticastRoute.Builder setInputInterface​(java.lang.String inputInterface)
        Ingress interface on which multicast traffic is learned. 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:
        inputInterface - New value for the property.
      • setOutputInterface

        public MulticastRoute.Builder setOutputInterface​(java.lang.String outputInterface)
        Egress interface on which multicast traffic is forwarded. 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:
        outputInterface - New value for the property.
      • setSourceAddress

        public MulticastRoute.Builder setSourceAddress​(java.lang.String sourceAddress)
        Multicast source address. format: ip 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:
        sourceAddress - New value for the property.
      • setTtl

        public MulticastRoute.Builder setTtl​(java.lang.Long ttl)
        Time-to-live value for multicast packets. 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:
        ttl - New value for the property.
      • setUptime

        public MulticastRoute.Builder setUptime​(java.lang.String uptime)
        Time for which multicast route entry is active. 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:
        uptime - New value for the property.