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 Summary
ConstructorsConstructorDescriptionCreates an instance of WebConnectivityEndpoint class. -
Method Summary
Modifier and TypeMethodDescriptionfqdn()Get the fqdn property: Web connectivity endpoint.static WebConnectivityEndpointfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of WebConnectivityEndpoint from the JsonReader.Get the privateFqdn property: Private web connectivity endpoint.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 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
-
WebConnectivityEndpoint
public WebConnectivityEndpoint()Creates an instance of WebConnectivityEndpoint class.
-
-
Method Details
-
fqdn
-
withFqdn
Set the fqdn property: Web connectivity endpoint.- Parameters:
fqdn- the fqdn value to set.- Returns:
- the WebConnectivityEndpoint object itself.
-
privateFqdn
Get the privateFqdn property: Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true.- Returns:
- the privateFqdn value.
-
withPrivateFqdn
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
- Specified by:
toJsonin interfacecom.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.
-