Class EndpointDetail
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.EndpointDetail
-
public final class EndpointDetail extends Object
Current TCP connectivity information from the Api Management Service to a single endpoint.
-
-
Constructor Summary
Constructors Constructor Description EndpointDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
port()
Get the port property: The port an endpoint is connected to.String
region()
Get the region property: The region of the dependency.void
validate()
Validates the instance.EndpointDetail
withPort(Integer port)
Set the port property: The port an endpoint is connected to.EndpointDetail
withRegion(String region)
Set the region property: The region of the dependency.
-
-
-
Method Detail
-
port
public Integer port()
Get the port property: The port an endpoint is connected to.- Returns:
- the port value.
-
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.
-
region
public String region()
Get the region property: The region of the dependency.- Returns:
- the region value.
-
withRegion
public EndpointDetail withRegion(String region)
Set the region property: The region of the dependency.- Parameters:
region
- the region value to set.- Returns:
- the EndpointDetail object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-