Class CdnManagedHttpsParameters
java.lang.Object
com.azure.resourcemanager.cdn.models.CustomDomainHttpsParameters
com.azure.resourcemanager.cdn.models.CdnManagedHttpsParameters
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CustomDomainHttpsParameters>
Defines the certificate source parameters using CDN managed certificate for enabling SSL.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CdnManagedHttpsParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the certificateSource property: Defines the source of the SSL certificate.Get the certificateSourceParameters property: Defines the certificate source parameters using CDN managed certificate for enabling SSL.static CdnManagedHttpsParametersfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CdnManagedHttpsParameters from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withCertificateSourceParameters(CdnCertificateSourceParameters certificateSourceParameters) Set the certificateSourceParameters property: Defines the certificate source parameters using CDN managed certificate for enabling SSL.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 CustomDomainHttpsParameters
minimumTlsVersion, protocolTypeMethods inherited from class 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
-
CdnManagedHttpsParameters
public CdnManagedHttpsParameters()Creates an instance of CdnManagedHttpsParameters class.
-
-
Method Details
-
certificateSource
Get the certificateSource property: Defines the source of the SSL certificate.- Overrides:
certificateSourcein classCustomDomainHttpsParameters- Returns:
- the certificateSource value.
-
certificateSourceParameters
Get the certificateSourceParameters property: Defines the certificate source parameters using CDN managed certificate for enabling SSL.- Returns:
- the certificateSourceParameters value.
-
withCertificateSourceParameters
public CdnManagedHttpsParameters withCertificateSourceParameters(CdnCertificateSourceParameters certificateSourceParameters) Set the certificateSourceParameters property: Defines the certificate source parameters using CDN managed certificate for enabling SSL.- Parameters:
certificateSourceParameters- the certificateSourceParameters value to set.- Returns:
- the CdnManagedHttpsParameters object itself.
-
withProtocolType
Set the protocolType property: Defines the TLS extension protocol that is used for secure delivery.- Overrides:
withProtocolTypein classCustomDomainHttpsParameters- Parameters:
protocolType- the protocolType value to set.- Returns:
- the CustomDomainHttpsParameters object itself.
-
withMinimumTlsVersion
Set the minimumTlsVersion property: TLS protocol version that will be used for Https.- Overrides:
withMinimumTlsVersionin classCustomDomainHttpsParameters- Parameters:
minimumTlsVersion- the minimumTlsVersion value to set.- Returns:
- the CustomDomainHttpsParameters object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classCustomDomainHttpsParameters- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<CustomDomainHttpsParameters>- Overrides:
toJsonin classCustomDomainHttpsParameters- Throws:
IOException
-
fromJson
public static CdnManagedHttpsParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of CdnManagedHttpsParameters from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of CdnManagedHttpsParameters 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 CdnManagedHttpsParameters.
-