EndpointDetail Class

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

Implements

public final class EndpointDetail
implements JsonSerializable<EndpointDetail>

connect information from the AKS agent nodes to a single endpoint.

Constructor Summary

Constructor Description
EndpointDetail()

Creates an instance of EndpointDetail class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: Description of the detail.

static EndpointDetail fromJson(JsonReader jsonReader)

Reads an instance of EndpointDetail from the JsonReader.

String ipAddress()

Get the ipAddress property: An IP Address that Domain Name currently resolves to.

Integer port()

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

String protocol()

Get the protocol property: The protocol used for connection.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

EndpointDetail withDescription(String description)

Set the description property: Description of the detail.

EndpointDetail withIpAddress(String ipAddress)

Set the ipAddress property: An IP Address that Domain Name currently resolves to.

EndpointDetail withPort(Integer port)

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

EndpointDetail withProtocol(String protocol)

Set the protocol property: The protocol used for connection.

Methods inherited from java.lang.Object

Constructor Details

EndpointDetail

public EndpointDetail()

Creates an instance of EndpointDetail class.

Method Details

description

public String description()

Get the description property: Description of the detail.

Returns:

the description value.

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.

ipAddress

public String ipAddress()

Get the ipAddress property: An IP Address that Domain Name currently resolves to.

Returns:

the ipAddress value.

port

public Integer port()

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

Returns:

the port value.

protocol

public String protocol()

Get the protocol property: The protocol used for connection.

Returns:

the protocol value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDescription

public EndpointDetail withDescription(String description)

Set the description property: Description of the detail.

Parameters:

description - the description value to set.

Returns:

the EndpointDetail object itself.

withIpAddress

public EndpointDetail withIpAddress(String ipAddress)

Set the ipAddress property: An IP Address that Domain Name currently resolves to.

Parameters:

ipAddress - the ipAddress value to set.

Returns:

the EndpointDetail object itself.

withPort

public EndpointDetail withPort(Integer port)

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

Parameters:

port - the port value to set.

Returns:

the EndpointDetail object itself.

withProtocol

public EndpointDetail withProtocol(String protocol)

Set the protocol property: The protocol used for connection.

Parameters:

protocol - the protocol value to set.

Returns:

the EndpointDetail object itself.

Applies to