Class EastWestGatewayProfile

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

public final class EastWestGatewayProfile extends Object implements com.azure.json.JsonSerializable<EastWestGatewayProfile>
AppLinkMember east-west gateway profile.
  • Constructor Details

    • EastWestGatewayProfile

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

    • visibility

      public EastWestGatewayVisibility visibility()
      Get the visibility property: East-West gateway visibility.
      Returns:
      the visibility value.
    • withVisibility

      public EastWestGatewayProfile withVisibility(EastWestGatewayVisibility visibility)
      Set the visibility property: East-West gateway visibility.
      Parameters:
      visibility - the visibility value to set.
      Returns:
      the EastWestGatewayProfile object itself.
    • toJson

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

      public static EastWestGatewayProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of EastWestGatewayProfile from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of EastWestGatewayProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the EastWestGatewayProfile.