Class InboundEnvironmentEndpointInner
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.InboundEnvironmentEndpointInner
-
public final class InboundEnvironmentEndpointInner extends Object
The IP Addresses and Ports that require inbound network access to and within the subnet of the App Service Environment.
-
-
Constructor Summary
Constructors Constructor Description InboundEnvironmentEndpointInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()Get the description property: Short text describing the purpose of the network traffic.List<String>endpoints()Get the endpoints property: The IP addresses that network traffic will originate from in cidr notation.List<String>ports()Get the ports property: The ports that network traffic will arrive to the App Service Environment at.voidvalidate()Validates the instance.InboundEnvironmentEndpointInnerwithDescription(String description)Set the description property: Short text describing the purpose of the network traffic.InboundEnvironmentEndpointInnerwithEndpoints(List<String> endpoints)Set the endpoints property: The IP addresses that network traffic will originate from in cidr notation.InboundEnvironmentEndpointInnerwithPorts(List<String> ports)Set the ports property: The ports that network traffic will arrive to the App Service Environment at.
-
-
-
Method Detail
-
description
public String description()
Get the description property: Short text describing the purpose of the network traffic.- Returns:
- the description value.
-
withDescription
public InboundEnvironmentEndpointInner withDescription(String description)
Set the description property: Short text describing the purpose of the network traffic.- Parameters:
description- the description value to set.- Returns:
- the InboundEnvironmentEndpointInner object itself.
-
endpoints
public List<String> endpoints()
Get the endpoints property: The IP addresses that network traffic will originate from in cidr notation.- Returns:
- the endpoints value.
-
withEndpoints
public InboundEnvironmentEndpointInner withEndpoints(List<String> endpoints)
Set the endpoints property: The IP addresses that network traffic will originate from in cidr notation.- Parameters:
endpoints- the endpoints value to set.- Returns:
- the InboundEnvironmentEndpointInner object itself.
-
ports
public List<String> ports()
Get the ports property: The ports that network traffic will arrive to the App Service Environment at.- Returns:
- the ports value.
-
withPorts
public InboundEnvironmentEndpointInner withPorts(List<String> ports)
Set the ports property: The ports that network traffic will arrive to the App Service Environment at.- Parameters:
ports- the ports value to set.- Returns:
- the InboundEnvironmentEndpointInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-