AfdDomainUpdatePropertiesParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.fluent.models.AfdDomainUpdatePropertiesParameters

Implements

public class AfdDomainUpdatePropertiesParameters
implements JsonSerializable<AfdDomainUpdatePropertiesParameters>

The JSON object that contains the properties of the domain to create.

Constructor Summary

Constructor Description
AfdDomainUpdatePropertiesParameters()

Creates an instance of AfdDomainUpdatePropertiesParameters class.

Method Summary

Modifier and Type Method and Description
ResourceReference azureDnsZone()

Get the azureDnsZone property: Resource reference to the Azure DNS zone.

static AfdDomainUpdatePropertiesParameters fromJson(JsonReader jsonReader)

Reads an instance of AfdDomainUpdatePropertiesParameters from the JsonReader.

ResourceReference preValidatedCustomDomainResourceId()

Get the preValidatedCustomDomainResourceId property: Resource reference to the Azure resource where custom domain ownership was prevalidated.

String profileName()

Get the profileName property: The name of the profile which holds the domain.

AfdDomainHttpsParameters tlsSettings()

Get the tlsSettings property: The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AfdDomainUpdatePropertiesParameters withAzureDnsZone(ResourceReference azureDnsZone)

Set the azureDnsZone property: Resource reference to the Azure DNS zone.

AfdDomainUpdatePropertiesParameters withPreValidatedCustomDomainResourceId(ResourceReference preValidatedCustomDomainResourceId)

Set the preValidatedCustomDomainResourceId property: Resource reference to the Azure resource where custom domain ownership was prevalidated.

AfdDomainUpdatePropertiesParameters withTlsSettings(AfdDomainHttpsParameters tlsSettings)

Set the tlsSettings property: The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate.

Methods inherited from java.lang.Object

Constructor Details

AfdDomainUpdatePropertiesParameters

public AfdDomainUpdatePropertiesParameters()

Creates an instance of AfdDomainUpdatePropertiesParameters class.

Method Details

azureDnsZone

public ResourceReference azureDnsZone()

Get the azureDnsZone property: Resource reference to the Azure DNS zone.

Returns:

the azureDnsZone value.

fromJson

public static AfdDomainUpdatePropertiesParameters fromJson(JsonReader jsonReader)

Reads an instance of AfdDomainUpdatePropertiesParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AfdDomainUpdatePropertiesParameters 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 AfdDomainUpdatePropertiesParameters.

preValidatedCustomDomainResourceId

public ResourceReference preValidatedCustomDomainResourceId()

Get the preValidatedCustomDomainResourceId property: Resource reference to the Azure resource where custom domain ownership was prevalidated.

Returns:

the preValidatedCustomDomainResourceId value.

profileName

public String profileName()

Get the profileName property: The name of the profile which holds the domain.

Returns:

the profileName value.

tlsSettings

public AfdDomainHttpsParameters tlsSettings()

Get the tlsSettings property: The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.

Returns:

the tlsSettings value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAzureDnsZone

public AfdDomainUpdatePropertiesParameters withAzureDnsZone(ResourceReference azureDnsZone)

Set the azureDnsZone property: Resource reference to the Azure DNS zone.

Parameters:

azureDnsZone - the azureDnsZone value to set.

Returns:

the AfdDomainUpdatePropertiesParameters object itself.

withPreValidatedCustomDomainResourceId

public AfdDomainUpdatePropertiesParameters withPreValidatedCustomDomainResourceId(ResourceReference preValidatedCustomDomainResourceId)

Set the preValidatedCustomDomainResourceId property: Resource reference to the Azure resource where custom domain ownership was prevalidated.

Parameters:

preValidatedCustomDomainResourceId - the preValidatedCustomDomainResourceId value to set.

Returns:

the AfdDomainUpdatePropertiesParameters object itself.

withTlsSettings

public AfdDomainUpdatePropertiesParameters withTlsSettings(AfdDomainHttpsParameters tlsSettings)

Set the tlsSettings property: The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.

Parameters:

tlsSettings - the tlsSettings value to set.

Returns:

the AfdDomainUpdatePropertiesParameters object itself.

Applies to