EndPoint Class
- java.
lang. Object - com.
azure. resourcemanager. orbital. models. EndPoint
- com.
Implements
public final class EndPoint
implements JsonSerializable<EndPoint>
Customer end point to store and retrieve data during a contact with the spacecraft.
Constructor Summary
| Constructor | Description |
|---|---|
| EndPoint() |
Creates an instance of End |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
endPointName()
Get the end |
|
static
End |
fromJson(JsonReader jsonReader)
Reads an instance of End |
| String |
ipAddress()
Get the ip |
| String |
port()
Get the port property: TCP port to listen on to receive data. |
| Protocol |
protocol()
Get the protocol property: Protocol either UDP or TCP. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
End |
withEndPointName(String endPointName)
Set the end |
|
End |
withIpAddress(String ipAddress)
Set the ip |
|
End |
withPort(String port)
Set the port property: TCP port to listen on to receive data. |
|
End |
withProtocol(Protocol protocol)
Set the protocol property: Protocol either UDP or TCP. |
Methods inherited from java.lang.Object
Constructor Details
EndPoint
public EndPoint()
Creates an instance of EndPoint class.
Method Details
endPointName
public String endPointName()
Get the endPointName property: Name of an end point.
Returns:
fromJson
public static EndPoint fromJson(JsonReader jsonReader)
Reads an instance of EndPoint from the JsonReader.
Parameters:
Returns:
Throws:
ipAddress
public String ipAddress()
Get the ipAddress property: IP Address (IPv4).
Returns:
port
public String port()
Get the port property: TCP port to listen on to receive data.
Returns:
protocol
public Protocol protocol()
Get the protocol property: Protocol either UDP or TCP.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEndPointName
public EndPoint withEndPointName(String endPointName)
Set the endPointName property: Name of an end point.
Parameters:
Returns:
withIpAddress
public EndPoint withIpAddress(String ipAddress)
Set the ipAddress property: IP Address (IPv4).
Parameters:
Returns:
withPort
public EndPoint withPort(String port)
Set the port property: TCP port to listen on to receive data.
Parameters:
Returns:
withProtocol
public EndPoint withProtocol(Protocol protocol)
Set the protocol property: Protocol either UDP or TCP.
Parameters:
Returns: