Class FlowEndpointsConfiguration

java.lang.Object
com.azure.resourcemanager.appservice.models.FlowEndpointsConfiguration
All Implemented Interfaces:
com.azure.json.JsonSerializable<FlowEndpointsConfiguration>

public final class FlowEndpointsConfiguration extends Object implements com.azure.json.JsonSerializable<FlowEndpointsConfiguration>
The endpoints configuration.
  • Constructor Details

    • FlowEndpointsConfiguration

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

    • workflow

      public FlowEndpoints workflow()
      Get the workflow property: The workflow endpoints.
      Returns:
      the workflow value.
    • withWorkflow

      public FlowEndpointsConfiguration withWorkflow(FlowEndpoints workflow)
      Set the workflow property: The workflow endpoints.
      Parameters:
      workflow - the workflow value to set.
      Returns:
      the FlowEndpointsConfiguration object itself.
    • connector

      public FlowEndpoints connector()
      Get the connector property: The connector endpoints.
      Returns:
      the connector value.
    • withConnector

      public FlowEndpointsConfiguration withConnector(FlowEndpoints connector)
      Set the connector property: The connector endpoints.
      Parameters:
      connector - the connector value to set.
      Returns:
      the FlowEndpointsConfiguration 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<FlowEndpointsConfiguration>
      Throws:
      IOException
    • fromJson

      public static FlowEndpointsConfiguration fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of FlowEndpointsConfiguration from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of FlowEndpointsConfiguration 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 FlowEndpointsConfiguration.