Class AfdDomainUpdateParameters
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.AfdDomainUpdateParameters
-
public class AfdDomainUpdateParameters extends Object
The domain JSON object required for domain creation or update.
-
-
Constructor Summary
Constructors Constructor Description AfdDomainUpdateParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceReferenceazureDnsZone()Get the azureDnsZone property: Resource reference to the Azure DNS zone.AfdDomainHttpsParameterstlsSettings()Get the tlsSettings property: The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate.voidvalidate()Validates the instance.AfdDomainUpdateParameterswithAzureDnsZone(ResourceReference azureDnsZone)Set the azureDnsZone property: Resource reference to the Azure DNS zone.AfdDomainUpdateParameterswithTlsSettings(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.
-
-
-
Method Detail
-
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.
-
withTlsSettings
public AfdDomainUpdateParameters 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 AfdDomainUpdateParameters object itself.
-
azureDnsZone
public ResourceReference azureDnsZone()
Get the azureDnsZone property: Resource reference to the Azure DNS zone.- Returns:
- the azureDnsZone value.
-
withAzureDnsZone
public AfdDomainUpdateParameters withAzureDnsZone(ResourceReference azureDnsZone)
Set the azureDnsZone property: Resource reference to the Azure DNS zone.- Parameters:
azureDnsZone- the azureDnsZone value to set.- Returns:
- the AfdDomainUpdateParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-