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 Details

    • FlowEndpoints

      public FlowEndpoints()
      Creates an instance of FlowEndpoints class.
  • Method Details

    • outgoingIpAddresses

      public List<IpAddress> outgoingIpAddresses()
      Get the outgoingIpAddresses property: The outgoing ip address.
      Returns:
      the outgoingIpAddresses value.
    • withOutgoingIpAddresses

      public FlowEndpoints withOutgoingIpAddresses(List<IpAddress> outgoingIpAddresses)
      Set the outgoingIpAddresses property: The outgoing ip address.
      Parameters:
      outgoingIpAddresses - the outgoingIpAddresses value to set.
      Returns:
      the FlowEndpoints object itself.
    • accessEndpointIpAddresses

      public List<IpAddress> accessEndpointIpAddresses()
      Get the accessEndpointIpAddresses property: The access endpoint ip address.
      Returns:
      the accessEndpointIpAddresses value.
    • withAccessEndpointIpAddresses

      public FlowEndpoints withAccessEndpointIpAddresses(List<IpAddress> accessEndpointIpAddresses)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<FlowEndpoints>
      Throws:
      IOException
    • fromJson

      public static FlowEndpoints fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.