Class AfdDomainHttpsParameters
java.lang.Object
com.azure.resourcemanager.cdn.models.AfdDomainHttpsParameters
The JSON object that contains the properties to secure a domain.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AfdDomainHttpsParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the certificateType property: Defines the source of the SSL certificate.Get the minimumTlsVersion property: TLS protocol version that will be used for Https.secret()Get the secret property: Resource reference to the secret.voidvalidate()Validates the instance.withCertificateType(AfdCertificateType certificateType) Set the certificateType property: Defines the source of the SSL certificate.withMinimumTlsVersion(AfdMinimumTlsVersion minimumTlsVersion) Set the minimumTlsVersion property: TLS protocol version that will be used for Https.withSecret(ResourceReference secret) Set the secret property: Resource reference to the secret.
-
Constructor Details
-
AfdDomainHttpsParameters
public AfdDomainHttpsParameters()Creates an instance of AfdDomainHttpsParameters class.
-
-
Method Details
-
certificateType
Get the certificateType property: Defines the source of the SSL certificate.- Returns:
- the certificateType value.
-
withCertificateType
Set the certificateType property: Defines the source of the SSL certificate.- Parameters:
certificateType- the certificateType value to set.- Returns:
- the AfdDomainHttpsParameters object itself.
-
minimumTlsVersion
Get the minimumTlsVersion property: TLS protocol version that will be used for Https.- Returns:
- the minimumTlsVersion value.
-
withMinimumTlsVersion
Set the minimumTlsVersion property: TLS protocol version that will be used for Https.- Parameters:
minimumTlsVersion- the minimumTlsVersion value to set.- Returns:
- the AfdDomainHttpsParameters object itself.
-
secret
Get the secret property: Resource reference to the secret. ie. subs/rg/profile/secret.- Returns:
- the secret value.
-
withSecret
Set the secret property: Resource reference to the secret. ie. subs/rg/profile/secret.- Parameters:
secret- the secret value to set.- Returns:
- the AfdDomainHttpsParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-