Class TunnelProperties.Builder

    • Constructor Detail

      • Builder

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

      • setLinks

        public TunnelProperties.Builder setLinks​(java.util.List<ResourceLink> links)
        The server will populate this field when returing the resource. Ignored on PUT and POST. 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:
        links - New value for the property.
      • setSchema

        public TunnelProperties.Builder setSchema​(java.lang.String schema)
        Schema for this resource 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:
        schema - New value for the property.
      • setEgressInterface

        public TunnelProperties.Builder setEgressInterface​(java.lang.String egressInterface)
        Corresponds to the interface where local_ip_address is routed. 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:
        egressInterface - New value for the property.
      • setLastUpdatedTime

        public TunnelProperties.Builder setLastUpdatedTime​(java.lang.Long lastUpdatedTime)
        Time at which the Tunnel status has been fetched last time. 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:
        lastUpdatedTime - New value for the property.
      • setLatencyValue

        public TunnelProperties.Builder setLatencyValue​(java.lang.Long latencyValue)
        The latency value is set only when latency_type is VALID. 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:
        latencyValue - New value for the property.
      • setLocalIp

        public TunnelProperties.Builder setLocalIp​(java.lang.String localIp)
        Local IP address of tunnel 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:
        localIp - New value for the property.
      • setName

        public TunnelProperties.Builder setName​(java.lang.String name)
        Name of tunnel 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:
        name - New value for the property.
      • setRemoteIp

        public TunnelProperties.Builder setRemoteIp​(java.lang.String remoteIp)
        Remote IP address of tunnel 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:
        remoteIp - New value for the property.
      • setRemoteNodeDisplayName

        public TunnelProperties.Builder setRemoteNodeDisplayName​(java.lang.String remoteNodeDisplayName)
        Represents the display name of the remote transport node at the other end of the tunnel. 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:
        remoteNodeDisplayName - New value for the property.
      • setRemoteNodeId

        public TunnelProperties.Builder setRemoteNodeId​(java.lang.String remoteNodeId)
        UUID of the remote transport node 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:
        remoteNodeId - New value for the property.