Class CustomDomainHttpsParameters
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.CustomDomainHttpsParameters
-
- Direct Known Subclasses:
CdnManagedHttpsParameters,UserManagedHttpsParameters
public class CustomDomainHttpsParameters extends Object
The JSON object that contains the properties to secure a custom domain.
-
-
Constructor Summary
Constructors Constructor Description CustomDomainHttpsParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MinimumTlsVersionminimumTlsVersion()Get the minimumTlsVersion property: TLS protocol version that will be used for Https.ProtocolTypeprotocolType()Get the protocolType property: Defines the TLS extension protocol that is used for secure delivery.voidvalidate()Validates the instance.CustomDomainHttpsParameterswithMinimumTlsVersion(MinimumTlsVersion minimumTlsVersion)Set the minimumTlsVersion property: TLS protocol version that will be used for Https.CustomDomainHttpsParameterswithProtocolType(ProtocolType protocolType)Set the protocolType property: Defines the TLS extension protocol that is used for secure delivery.
-
-
-
Method Detail
-
protocolType
public ProtocolType protocolType()
Get the protocolType property: Defines the TLS extension protocol that is used for secure delivery.- Returns:
- the protocolType value.
-
withProtocolType
public CustomDomainHttpsParameters withProtocolType(ProtocolType protocolType)
Set the protocolType property: Defines the TLS extension protocol that is used for secure delivery.- Parameters:
protocolType- the protocolType value to set.- Returns:
- the CustomDomainHttpsParameters object itself.
-
minimumTlsVersion
public MinimumTlsVersion minimumTlsVersion()
Get the minimumTlsVersion property: TLS protocol version that will be used for Https.- Returns:
- the minimumTlsVersion value.
-
withMinimumTlsVersion
public CustomDomainHttpsParameters withMinimumTlsVersion(MinimumTlsVersion minimumTlsVersion)
Set the minimumTlsVersion property: TLS protocol version that will be used for Https.- Parameters:
minimumTlsVersion- the minimumTlsVersion value to set.- Returns:
- the CustomDomainHttpsParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-