CustomDomainPropertiesParameters Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. fluent. models. CustomDomainPropertiesParameters
- com.
Implements
public final class CustomDomainPropertiesParameters
implements JsonSerializable<CustomDomainPropertiesParameters>
The JSON object that contains the properties of the custom domain to create.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomDomainPropertiesParameters() |
Creates an instance of Custom |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Custom |
fromJson(JsonReader jsonReader)
Reads an instance of Custom |
| String |
hostname()
Get the hostname property: The host name of the custom domain. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Custom |
withHostname(String hostname)
Set the hostname property: The host name of the custom domain. |
Methods inherited from java.lang.Object
Constructor Details
CustomDomainPropertiesParameters
public CustomDomainPropertiesParameters()
Creates an instance of CustomDomainPropertiesParameters class.
Method Details
fromJson
public static CustomDomainPropertiesParameters fromJson(JsonReader jsonReader)
Reads an instance of CustomDomainPropertiesParameters from the JsonReader.
Parameters:
Returns:
Throws:
hostname
public String hostname()
Get the hostname property: The host name of the custom domain. Must be a domain name.
Returns:
toJson
validate
public void validate()
Validates the instance.
withHostname
public CustomDomainPropertiesParameters withHostname(String hostname)
Set the hostname property: The host name of the custom domain. Must be a domain name.
Parameters:
Returns: