EndpointDetail Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.EndpointDetail

Implements

public final class EndpointDetail
implements JsonSerializable<EndpointDetail>

A domain name that the managed instance service needs to communicate with, along with additional details.

Constructor Summary

Constructor Description
EndpointDetail()

Creates an instance of EndpointDetail class.

Method Summary

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

Reads an instance of EndpointDetail from the JsonReader.

Integer port()

Get the port property: The port an endpoint is connected to.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

EndpointDetail

public EndpointDetail()

Creates an instance of EndpointDetail class.

Method Details

fromJson

public static EndpointDetail fromJson(JsonReader jsonReader)

Reads an instance of EndpointDetail from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of EndpointDetail if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the EndpointDetail.

port

public Integer port()

Get the port property: The port an endpoint is connected to.

Returns:

the port value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to