Package com.azure.compute.batch.models
Class InboundEndpoint
java.lang.Object
com.azure.compute.batch.models.InboundEndpoint
- All Implemented Interfaces:
com.azure.json.JsonSerializable<InboundEndpoint>
public final class InboundEndpoint
extends Object
implements com.azure.json.JsonSerializable<InboundEndpoint>
An inbound endpoint on a Compute Node.
-
Method Summary
Modifier and TypeMethodDescriptionstatic InboundEndpointfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of InboundEndpoint from the JsonReader.intGet the backendPort property: The backend port number of the endpoint.intGet the frontendPort property: The public port number of the endpoint.getName()Get the name property: The name of the endpoint.Get the protocol property: The protocol of the endpoint.Get the publicFQDN property: The public fully qualified domain name for the Compute Node.Get the publicIpAddress property: The public IP address of the Compute Node.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getName
Get the name property: The name of the endpoint.- Returns:
- the name value.
-
getProtocol
Get the protocol property: The protocol of the endpoint.- Returns:
- the protocol value.
-
getPublicIpAddress
Get the publicIpAddress property: The public IP address of the Compute Node.- Returns:
- the publicIpAddress value.
-
getPublicFQDN
Get the publicFQDN property: The public fully qualified domain name for the Compute Node.- Returns:
- the publicFQDN value.
-
getFrontendPort
public int getFrontendPort()Get the frontendPort property: The public port number of the endpoint.- Returns:
- the frontendPort value.
-
getBackendPort
public int getBackendPort()Get the backendPort property: The backend port number of the endpoint.- Returns:
- the backendPort value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<InboundEndpoint>- Throws:
IOException
-
fromJson
Reads an instance of InboundEndpoint from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of InboundEndpoint if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the InboundEndpoint.
-