Class ConnectivityProfileWeb

java.lang.Object
com.azure.resourcemanager.hdinsight.containers.models.WebConnectivityEndpoint
com.azure.resourcemanager.hdinsight.containers.models.ConnectivityProfileWeb
All Implemented Interfaces:
com.azure.json.JsonSerializable<WebConnectivityEndpoint>

public final class ConnectivityProfileWeb extends WebConnectivityEndpoint
Web connectivity endpoint details.
  • Constructor Details

    • ConnectivityProfileWeb

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

    • withFqdn

      public ConnectivityProfileWeb withFqdn(String fqdn)
      Set the fqdn property: Web connectivity endpoint.
      Overrides:
      withFqdn in class WebConnectivityEndpoint
      Parameters:
      fqdn - the fqdn value to set.
      Returns:
      the WebConnectivityEndpoint object itself.
    • withPrivateFqdn

      public ConnectivityProfileWeb withPrivateFqdn(String privateFqdn)
      Set the privateFqdn property: Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true.
      Overrides:
      withPrivateFqdn in class WebConnectivityEndpoint
      Parameters:
      privateFqdn - the privateFqdn value to set.
      Returns:
      the WebConnectivityEndpoint object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class WebConnectivityEndpoint
      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<WebConnectivityEndpoint>
      Overrides:
      toJson in class WebConnectivityEndpoint
      Throws:
      IOException
    • fromJson

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