Class UserManagedHttpsParameters
java.lang.Object
com.azure.resourcemanager.cdn.models.CustomDomainHttpsParameters
com.azure.resourcemanager.cdn.models.UserManagedHttpsParameters
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CustomDomainHttpsParameters>
Defines the certificate source parameters using user's keyvault certificate for enabling SSL.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of UserManagedHttpsParameters 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 user's keyvault certificate for enabling SSL.static UserManagedHttpsParametersfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of UserManagedHttpsParameters from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withCertificateSourceParameters(KeyVaultCertificateSourceParameters certificateSourceParameters) Set the certificateSourceParameters property: Defines the certificate source parameters using user's keyvault 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 com.azure.resourcemanager.cdn.models.CustomDomainHttpsParameters
minimumTlsVersion, protocolTypeMethods 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
-
UserManagedHttpsParameters
public UserManagedHttpsParameters()Creates an instance of UserManagedHttpsParameters 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 user's keyvault certificate for enabling SSL.- Returns:
- the certificateSourceParameters value.
-
withCertificateSourceParameters
public UserManagedHttpsParameters withCertificateSourceParameters(KeyVaultCertificateSourceParameters certificateSourceParameters) Set the certificateSourceParameters property: Defines the certificate source parameters using user's keyvault certificate for enabling SSL.- Parameters:
certificateSourceParameters- the certificateSourceParameters value to set.- Returns:
- the UserManagedHttpsParameters 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 UserManagedHttpsParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of UserManagedHttpsParameters from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of UserManagedHttpsParameters 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 UserManagedHttpsParameters.
-