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>
Web connectivity endpoint details.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ConnectivityProfileWeb class. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectivityProfileWebfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ConnectivityProfileWeb from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Set the fqdn property: Web connectivity endpoint.withPrivateFqdn(String privateFqdn) Set the privateFqdn property: Private web connectivity endpoint.Methods inherited from class WebConnectivityEndpoint
fqdn, privateFqdnMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ConnectivityProfileWeb
public ConnectivityProfileWeb()Creates an instance of ConnectivityProfileWeb class.
-
-
Method Details
-
withFqdn
Set the fqdn property: Web connectivity endpoint.- Overrides:
withFqdnin classWebConnectivityEndpoint- Parameters:
fqdn- the fqdn value to set.- Returns:
- the WebConnectivityEndpoint object itself.
-
withPrivateFqdn
Set the privateFqdn property: Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true.- Overrides:
withPrivateFqdnin classWebConnectivityEndpoint- Parameters:
privateFqdn- the privateFqdn value to set.- Returns:
- the WebConnectivityEndpoint object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classWebConnectivityEndpoint- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<WebConnectivityEndpoint>- Overrides:
toJsonin classWebConnectivityEndpoint- 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.
-