Class EndPoint
java.lang.Object
com.azure.resourcemanager.orbital.models.EndPoint
Customer End point to store/retrieve data during a contact.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the endPointName property: Name of an end point.Get the ipAddress property: IP Address.port()
Get the port property: TCP port to listen on to receive data.protocol()
Get the protocol property: Protocol either UDP or TCP.void
validate()
Validates the instance.withEndPointName
(String endPointName) Set the endPointName property: Name of an end point.withIpAddress
(String ipAddress) Set the ipAddress property: IP Address.Set the port property: TCP port to listen on to receive data.withProtocol
(Protocol protocol) Set the protocol property: Protocol either UDP or TCP.
-
Constructor Details
-
EndPoint
public EndPoint()
-
-
Method Details
-
ipAddress
Get the ipAddress property: IP Address.- Returns:
- the ipAddress value.
-
withIpAddress
Set the ipAddress property: IP Address.- Parameters:
ipAddress
- the ipAddress value to set.- Returns:
- the EndPoint object itself.
-
endPointName
Get the endPointName property: Name of an end point.- Returns:
- the endPointName value.
-
withEndPointName
Set the endPointName property: Name of an end point.- Parameters:
endPointName
- the endPointName value to set.- Returns:
- the EndPoint object itself.
-
port
Get the port property: TCP port to listen on to receive data.- Returns:
- the port value.
-
withPort
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
Get the protocol property: Protocol either UDP or TCP.- Returns:
- the protocol value.
-
withProtocol
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.
-