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 Type
    Method
    Description
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of InboundEndpoint from the JsonReader.
    int
    Get the backendPort property: The backend port number of the endpoint.
    int
    Get the frontendPort property: The public port number of the endpoint.
    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.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Method Details

    • getName

      public String getName()
      Get the name property: The name of the endpoint.
      Returns:
      the name value.
    • getProtocol

      public InboundEndpointProtocol getProtocol()
      Get the protocol property: The protocol of the endpoint.
      Returns:
      the protocol value.
    • getPublicIpAddress

      public String getPublicIpAddress()
      Get the publicIpAddress property: The public IP address of the Compute Node.
      Returns:
      the publicIpAddress value.
    • getPublicFQDN

      public String 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<InboundEndpoint>
      Throws:
      IOException
    • fromJson

      public static InboundEndpoint fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.