Class CustomDomainHttpsParameters
java.lang.Object
com.azure.resourcemanager.cdn.models.CustomDomainHttpsParameters
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CustomDomainHttpsParameters>
- Direct Known Subclasses:
CdnManagedHttpsParameters,UserManagedHttpsParameters
public class CustomDomainHttpsParameters
extends Object
implements com.azure.json.JsonSerializable<CustomDomainHttpsParameters>
The JSON object that contains the properties to secure a custom domain.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CustomDomainHttpsParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the certificateSource property: Defines the source of the SSL certificate.static CustomDomainHttpsParametersfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CustomDomainHttpsParameters from the JsonReader.Get the minimumTlsVersion property: TLS protocol version that will be used for Https.Get the protocolType property: Defines the TLS extension protocol that is used for secure delivery.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withMinimumTlsVersion(MinimumTlsVersion minimumTlsVersion) Set the minimumTlsVersion property: TLS protocol version that will be used for Https.withProtocolType(ProtocolType protocolType) Set the protocolType property: Defines the TLS extension protocol that is used for secure delivery.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
CustomDomainHttpsParameters
public CustomDomainHttpsParameters()Creates an instance of CustomDomainHttpsParameters class.
-
-
Method Details
-
certificateSource
Get the certificateSource property: Defines the source of the SSL certificate.- Returns:
- the certificateSource value.
-
protocolType
Get the protocolType property: Defines the TLS extension protocol that is used for secure delivery.- Returns:
- the protocolType value.
-
withProtocolType
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
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 CustomDomainHttpsParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<CustomDomainHttpsParameters>- Throws:
IOException
-
fromJson
public static CustomDomainHttpsParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of CustomDomainHttpsParameters from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of CustomDomainHttpsParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the CustomDomainHttpsParameters.
-