java.lang.Object
com.azure.resourcemanager.orbital.models.EndPoint

public final class EndPoint extends Object
Customer End point to store/retrieve data during a contact.
  • Constructor Details

    • EndPoint

      public EndPoint()
  • Method Details

    • ipAddress

      public String ipAddress()
      Get the ipAddress property: IP Address.
      Returns:
      the ipAddress value.
    • withIpAddress

      public EndPoint withIpAddress(String ipAddress)
      Set the ipAddress property: IP Address.
      Parameters:
      ipAddress - the ipAddress value to set.
      Returns:
      the EndPoint object itself.
    • endPointName

      public String endPointName()
      Get the endPointName property: Name of an end point.
      Returns:
      the endPointName value.
    • withEndPointName

      public EndPoint withEndPointName(String endPointName)
      Set the endPointName property: Name of an end point.
      Parameters:
      endPointName - the endPointName value to set.
      Returns:
      the EndPoint object itself.
    • port

      public String port()
      Get the port property: TCP port to listen on to receive data.
      Returns:
      the port value.
    • withPort

      public EndPoint withPort(String port)
      Set the port property: TCP port to listen on to receive data.
      Parameters:
      port - the port value to set.
      Returns:
      the EndPoint object itself.
    • protocol

      public Protocol protocol()
      Get the protocol property: Protocol either UDP or TCP.
      Returns:
      the protocol value.
    • withProtocol

      public EndPoint withProtocol(Protocol protocol)
      Set the protocol property: Protocol either UDP or TCP.
      Parameters:
      protocol - the protocol value to set.
      Returns:
      the EndPoint object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.