Share via


InboundEndpoint Class

  • java.lang.Object
    • com.azure.compute.batch.models.InboundEndpoint

Implements

public final class InboundEndpoint
implements JsonSerializable<InboundEndpoint>

An inbound endpoint on a Compute Node.

Method Summary

Modifier and Type Method and Description
static InboundEndpoint fromJson(JsonReader jsonReader)

Reads an instance of InboundEndpoint from the JsonReader.

int getBackendPort()

Get the backendPort property: The backend port number of the endpoint.

int getFrontendPort()

Get the frontendPort property: The public port number of the endpoint.

String getName()

Get the name property: The name of the endpoint.

InboundEndpointProtocol getProtocol()

Get the protocol property: The protocol of the endpoint.

String getPublicFQDN()

Get the publicFQDN property: The public fully qualified domain name for the Compute Node.

String getPublicIpAddress()

Get the publicIpAddress property: The public IP address of the Compute Node.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static InboundEndpoint fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

getBackendPort

public int getBackendPort()

Get the backendPort property: The backend port number of the endpoint.

Returns:

the backendPort value.

getFrontendPort

public int getFrontendPort()

Get the frontendPort property: The public port number of the endpoint.

Returns:

the frontendPort value.

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.

getPublicFQDN

public String getPublicFQDN()

Get the publicFQDN property: The public fully qualified domain name for the Compute Node.

Returns:

the publicFQDN value.

getPublicIpAddress

public String getPublicIpAddress()

Get the publicIpAddress property: The public IP address of the Compute Node.

Returns:

the publicIpAddress value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to