Class InboundEnvironmentEndpointInner
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.InboundEnvironmentEndpointInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<InboundEnvironmentEndpointInner>
public final class InboundEnvironmentEndpointInner
extends Object
implements com.azure.json.JsonSerializable<InboundEnvironmentEndpointInner>
The IP Addresses and Ports that require inbound network access to and within the subnet of the App Service
Environment.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of InboundEnvironmentEndpointInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Short text describing the purpose of the network traffic.Get the endpoints property: The IP addresses that network traffic will originate from in cidr notation.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of InboundEnvironmentEndpointInner from the JsonReader.ports()
Get the ports property: The ports that network traffic will arrive to the App Service Environment at.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withDescription
(String description) Set the description property: Short text describing the purpose of the network traffic.withEndpoints
(List<String> endpoints) Set the endpoints property: The IP addresses that network traffic will originate from in cidr notation.Set the ports property: The ports that network traffic will arrive to the App Service Environment at.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
InboundEnvironmentEndpointInner
public InboundEnvironmentEndpointInner()Creates an instance of InboundEnvironmentEndpointInner class.
-
-
Method Details
-
description
Get the description property: Short text describing the purpose of the network traffic.- Returns:
- the description value.
-
withDescription
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
Get the endpoints property: The IP addresses that network traffic will originate from in cidr notation.- Returns:
- the endpoints value.
-
withEndpoints
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
Get the ports property: The ports that network traffic will arrive to the App Service Environment at.- Returns:
- the ports value.
-
withPorts
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.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<InboundEnvironmentEndpointInner>
- Throws:
IOException
-
fromJson
public static InboundEnvironmentEndpointInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-