EndpointDetail Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. EndpointDetail
- com.
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 Endpoint |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: Description of the detail. |
static
Endpoint |
fromJson(JsonReader jsonReader)
Reads an instance of Endpoint |
String |
ipAddress()
Get the ip |
Integer |
port()
Get the port property: The port an endpoint is connected to. |
String |
protocol()
Get the protocol property: The protocol used for connection. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Endpoint |
withDescription(String description)
Set the description property: Description of the detail. |
Endpoint |
withIpAddress(String ipAddress)
Set the ip |
Endpoint |
withPort(Integer port)
Set the port property: The port an endpoint is connected to. |
Endpoint |
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:
fromJson
public static EndpointDetail fromJson(JsonReader jsonReader)
Reads an instance of EndpointDetail from the JsonReader.
Parameters:
Returns:
Throws:
ipAddress
public String ipAddress()
Get the ipAddress property: An IP Address that Domain Name currently resolves to.
Returns:
port
public Integer port()
Get the port property: The port an endpoint is connected to.
Returns:
protocol
public String protocol()
Get the protocol property: The protocol used for connection.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public EndpointDetail withDescription(String description)
Set the description property: Description of the detail.
Parameters:
Returns:
withIpAddress
public EndpointDetail withIpAddress(String ipAddress)
Set the ipAddress property: An IP Address that Domain Name currently resolves to.
Parameters:
Returns:
withPort
public EndpointDetail withPort(Integer port)
Set the port property: The port an endpoint is connected to.
Parameters:
Returns:
withProtocol
public EndpointDetail withProtocol(String protocol)
Set the protocol property: The protocol used for connection.
Parameters:
Returns:
Applies to
Azure SDK for Java