Class FlowEndpoints
java.lang.Object
com.azure.resourcemanager.appservice.models.FlowEndpoints
- All Implemented Interfaces:
com.azure.json.JsonSerializable<FlowEndpoints>
public final class FlowEndpoints
extends Object
implements com.azure.json.JsonSerializable<FlowEndpoints>
The flow endpoints configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the accessEndpointIpAddresses property: The access endpoint ip address.static FlowEndpoints
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of FlowEndpoints from the JsonReader.Get the outgoingIpAddresses property: The outgoing ip address.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withAccessEndpointIpAddresses
(List<IpAddress> accessEndpointIpAddresses) Set the accessEndpointIpAddresses property: The access endpoint ip address.withOutgoingIpAddresses
(List<IpAddress> outgoingIpAddresses) Set the outgoingIpAddresses property: The outgoing ip address.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
-
FlowEndpoints
public FlowEndpoints()Creates an instance of FlowEndpoints class.
-
-
Method Details
-
outgoingIpAddresses
Get the outgoingIpAddresses property: The outgoing ip address.- Returns:
- the outgoingIpAddresses value.
-
withOutgoingIpAddresses
Set the outgoingIpAddresses property: The outgoing ip address.- Parameters:
outgoingIpAddresses
- the outgoingIpAddresses value to set.- Returns:
- the FlowEndpoints object itself.
-
accessEndpointIpAddresses
Get the accessEndpointIpAddresses property: The access endpoint ip address.- Returns:
- the accessEndpointIpAddresses value.
-
withAccessEndpointIpAddresses
Set the accessEndpointIpAddresses property: The access endpoint ip address.- Parameters:
accessEndpointIpAddresses
- the accessEndpointIpAddresses value to set.- Returns:
- the FlowEndpoints 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<FlowEndpoints>
- Throws:
IOException
-
fromJson
Reads an instance of FlowEndpoints from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of FlowEndpoints 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 FlowEndpoints.
-