Class OutboundEnvironmentEndpointInner
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.OutboundEnvironmentEndpointInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<OutboundEnvironmentEndpointInner>
public final class OutboundEnvironmentEndpointInner
extends Object
implements com.azure.json.JsonSerializable<OutboundEnvironmentEndpointInner>
Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of OutboundEnvironmentEndpointInner class. -
Method Summary
Modifier and TypeMethodDescriptioncategory()
Get the category property: The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.Get the endpoints property: The endpoints that the App Service Environment reaches the service at.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of OutboundEnvironmentEndpointInner from the JsonReader.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withCategory
(String category) Set the category property: The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.withEndpoints
(List<EndpointDependency> endpoints) Set the endpoints property: The endpoints that the App Service Environment reaches the service 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
-
OutboundEnvironmentEndpointInner
public OutboundEnvironmentEndpointInner()Creates an instance of OutboundEnvironmentEndpointInner class.
-
-
Method Details
-
category
Get the category property: The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.- Returns:
- the category value.
-
withCategory
Set the category property: The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.- Parameters:
category
- the category value to set.- Returns:
- the OutboundEnvironmentEndpointInner object itself.
-
endpoints
Get the endpoints property: The endpoints that the App Service Environment reaches the service at.- Returns:
- the endpoints value.
-
withEndpoints
Set the endpoints property: The endpoints that the App Service Environment reaches the service at.- Parameters:
endpoints
- the endpoints value to set.- Returns:
- the OutboundEnvironmentEndpointInner 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<OutboundEnvironmentEndpointInner>
- Throws:
IOException
-
fromJson
public static OutboundEnvironmentEndpointInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of OutboundEnvironmentEndpointInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of OutboundEnvironmentEndpointInner 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 OutboundEnvironmentEndpointInner.
-