Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.appservice;
import com.fasterxml.jackson.annotation.JsonProperty;
Current TCP connectivity information from the App Service Environment to a
single endpoint.
/**
* Current TCP connectivity information from the App Service Environment to a
* single endpoint.
*/
public class EndpointDetail {
An IP Address that Domain Name currently resolves to.
/**
* An IP Address that Domain Name currently resolves to.
*/
@JsonProperty(value = "ipAddress")
private String ipAddress;
The port an endpoint is connected to.
/**
* The port an endpoint is connected to.
*/
@JsonProperty(value = "port")
private Integer port;
The time in milliseconds it takes for a TCP connection to be created
from the App Service Environment to this IpAddress at this Port.
/**
* The time in milliseconds it takes for a TCP connection to be created
* from the App Service Environment to this IpAddress at this Port.
*/
@JsonProperty(value = "latency")
private Double latency;
Whether it is possible to create a TCP connection from the App Service
Environment to this IpAddress at this Port.
/**
* Whether it is possible to create a TCP connection from the App Service
* Environment to this IpAddress at this Port.
*/
@JsonProperty(value = "isAccessible")
private Boolean isAccessible;
Get an IP Address that Domain Name currently resolves to.
Returns: the ipAddress value
/**
* Get an IP Address that Domain Name currently resolves to.
*
* @return the ipAddress value
*/
public String ipAddress() {
return this.ipAddress;
}
Set an IP Address that Domain Name currently resolves to.
Params: - ipAddress – the ipAddress value to set
Returns: the EndpointDetail object itself.
/**
* Set an IP Address that Domain Name currently resolves to.
*
* @param ipAddress the ipAddress value to set
* @return the EndpointDetail object itself.
*/
public EndpointDetail withIpAddress(String ipAddress) {
this.ipAddress = ipAddress;
return this;
}
Get the port an endpoint is connected to.
Returns: the port value
/**
* Get the port an endpoint is connected to.
*
* @return the port value
*/
public Integer port() {
return this.port;
}
Set the port an endpoint is connected to.
Params: - port – the port value to set
Returns: the EndpointDetail object itself.
/**
* Set the port an endpoint is connected to.
*
* @param port the port value to set
* @return the EndpointDetail object itself.
*/
public EndpointDetail withPort(Integer port) {
this.port = port;
return this;
}
Get the time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port.
Returns: the latency value
/**
* Get the time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port.
*
* @return the latency value
*/
public Double latency() {
return this.latency;
}
Set the time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port.
Params: - latency – the latency value to set
Returns: the EndpointDetail object itself.
/**
* Set the time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port.
*
* @param latency the latency value to set
* @return the EndpointDetail object itself.
*/
public EndpointDetail withLatency(Double latency) {
this.latency = latency;
return this;
}
Get whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port.
Returns: the isAccessible value
/**
* Get whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port.
*
* @return the isAccessible value
*/
public Boolean isAccessible() {
return this.isAccessible;
}
Set whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port.
Params: - isAccessible – the isAccessible value to set
Returns: the EndpointDetail object itself.
/**
* Set whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port.
*
* @param isAccessible the isAccessible value to set
* @return the EndpointDetail object itself.
*/
public EndpointDetail withIsAccessible(Boolean isAccessible) {
this.isAccessible = isAccessible;
return this;
}
}