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>

public final class UserManagedHttpsParameters extends CustomDomainHttpsParameters
Defines the certificate source parameters using user's keyvault certificate for enabling SSL.
  • Constructor Details

    • UserManagedHttpsParameters

      public UserManagedHttpsParameters()
      Creates an instance of UserManagedHttpsParameters class.
  • Method Details

    • certificateSource

      public CertificateSource certificateSource()
      Get the certificateSource property: Defines the source of the SSL certificate.
      Overrides:
      certificateSource in class CustomDomainHttpsParameters
      Returns:
      the certificateSource value.
    • certificateSourceParameters

      public KeyVaultCertificateSourceParameters 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

      public UserManagedHttpsParameters withProtocolType(ProtocolType protocolType)
      Set the protocolType property: Defines the TLS extension protocol that is used for secure delivery.
      Overrides:
      withProtocolType in class CustomDomainHttpsParameters
      Parameters:
      protocolType - the protocolType value to set.
      Returns:
      the CustomDomainHttpsParameters object itself.
    • withMinimumTlsVersion

      public UserManagedHttpsParameters withMinimumTlsVersion(MinimumTlsVersion minimumTlsVersion)
      Set the minimumTlsVersion property: TLS protocol version that will be used for Https.
      Overrides:
      withMinimumTlsVersion in class CustomDomainHttpsParameters
      Parameters:
      minimumTlsVersion - the minimumTlsVersion value to set.
      Returns:
      the CustomDomainHttpsParameters object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class CustomDomainHttpsParameters
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<CustomDomainHttpsParameters>
      Overrides:
      toJson in class CustomDomainHttpsParameters
      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.