Class WebConnectivityEndpoint

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

public class WebConnectivityEndpoint extends Object implements com.azure.json.JsonSerializable<WebConnectivityEndpoint>
Web connectivity endpoint details.
  • Constructor Details

    • WebConnectivityEndpoint

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

    • fqdn

      public String fqdn()
      Get the fqdn property: Web connectivity endpoint.
      Returns:
      the fqdn value.
    • withFqdn

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

      public String privateFqdn()
      Get the privateFqdn property: Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true.
      Returns:
      the privateFqdn value.
    • withPrivateFqdn

      public WebConnectivityEndpoint withPrivateFqdn(String privateFqdn)
      Set the privateFqdn property: Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true.
      Parameters:
      privateFqdn - the privateFqdn value to set.
      Returns:
      the WebConnectivityEndpoint 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<WebConnectivityEndpoint>
      Throws:
      IOException
    • fromJson

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