Class CustomHostnameSitesProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.CustomHostnameSitesProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CustomHostnameSitesProperties>
public final class CustomHostnameSitesProperties
extends Object
implements com.azure.json.JsonSerializable<CustomHostnameSitesProperties>
CustomHostnameSites resource specific properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CustomHostnameSitesProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the customHostname property: The customHostname property.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of CustomHostnameSitesProperties from the JsonReader.region()
Get the region property: The region property.Get the siteResourceIds property: The siteResourceIds property.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withCustomHostname
(String customHostname) Set the customHostname property: The customHostname property.withRegion
(String region) Set the region property: The region property.withSiteResourceIds
(List<IdentifierInner> siteResourceIds) Set the siteResourceIds property: The siteResourceIds property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
CustomHostnameSitesProperties
public CustomHostnameSitesProperties()Creates an instance of CustomHostnameSitesProperties class.
-
-
Method Details
-
customHostname
Get the customHostname property: The customHostname property.- Returns:
- the customHostname value.
-
withCustomHostname
Set the customHostname property: The customHostname property.- Parameters:
customHostname
- the customHostname value to set.- Returns:
- the CustomHostnameSitesProperties object itself.
-
region
Get the region property: The region property.- Returns:
- the region value.
-
withRegion
Set the region property: The region property.- Parameters:
region
- the region value to set.- Returns:
- the CustomHostnameSitesProperties object itself.
-
siteResourceIds
Get the siteResourceIds property: The siteResourceIds property.- Returns:
- the siteResourceIds value.
-
withSiteResourceIds
Set the siteResourceIds property: The siteResourceIds property.- Parameters:
siteResourceIds
- the siteResourceIds value to set.- Returns:
- the CustomHostnameSitesProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<CustomHostnameSitesProperties>
- Throws:
IOException
-
fromJson
public static CustomHostnameSitesProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of CustomHostnameSitesProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of CustomHostnameSitesProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the CustomHostnameSitesProperties.
-