InboundEnvironmentEndpointInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.InboundEnvironmentEndpointInner

Implements

public final class InboundEnvironmentEndpointInner
implements JsonSerializable<InboundEnvironmentEndpointInner>

The IP Addresses and Ports that require inbound network access to and within the subnet of the App Service Environment.

Constructor Summary

Constructor Description
InboundEnvironmentEndpointInner()

Creates an instance of InboundEnvironmentEndpointInner class.

Method Summary

Modifier and Type Method and Description
String description()

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.

static InboundEnvironmentEndpointInner fromJson(JsonReader jsonReader)

Reads an instance of InboundEnvironmentEndpointInner from the JsonReader.

List<String> ports()

Get the ports property: The ports that network traffic will arrive to the App Service Environment at.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

InboundEnvironmentEndpointInner withDescription(String description)

Set the description property: Short text describing the purpose of the network traffic.

InboundEnvironmentEndpointInner withEndpoints(List<String> endpoints)

Set the endpoints property: The IP addresses that network traffic will originate from in cidr notation.

InboundEnvironmentEndpointInner withPorts(List<String> ports)

Set the ports property: The ports that network traffic will arrive to the App Service Environment at.

Methods inherited from java.lang.Object

Constructor Details

InboundEnvironmentEndpointInner

public InboundEnvironmentEndpointInner()

Creates an instance of InboundEnvironmentEndpointInner class.

Method Details

description

public String description()

Get the description property: Short text describing the purpose of the network traffic.

Returns:

the description value.

endpoints

public List endpoints()

Get the endpoints property: The IP addresses that network traffic will originate from in cidr notation.

Returns:

the endpoints value.

fromJson

public static InboundEnvironmentEndpointInner fromJson(JsonReader jsonReader)

Reads an instance of InboundEnvironmentEndpointInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of InboundEnvironmentEndpointInner 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 InboundEnvironmentEndpointInner.

ports

public List ports()

Get the ports property: The ports that network traffic will arrive to the App Service Environment at.

Returns:

the ports value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

withEndpoints

public InboundEnvironmentEndpointInner withEndpoints(List 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.

withPorts

public InboundEnvironmentEndpointInner withPorts(List 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.

Applies to