Class KeyVaultCertificateSourceParameters

java.lang.Object
com.azure.resourcemanager.cdn.models.KeyVaultCertificateSourceParameters

public final class KeyVaultCertificateSourceParameters extends Object
Describes the parameters for using a user's KeyVault certificate for securing custom domain.
  • Constructor Details

    • KeyVaultCertificateSourceParameters

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

    • typeName

      public String typeName()
      Get the typeName property: The typeName property.
      Returns:
      the typeName value.
    • withTypeName

      public KeyVaultCertificateSourceParameters withTypeName(String typeName)
      Set the typeName property: The typeName property.
      Parameters:
      typeName - the typeName value to set.
      Returns:
      the KeyVaultCertificateSourceParameters object itself.
    • subscriptionId

      public String subscriptionId()
      Get the subscriptionId property: Subscription Id of the user's Key Vault containing the SSL certificate.
      Returns:
      the subscriptionId value.
    • withSubscriptionId

      public KeyVaultCertificateSourceParameters withSubscriptionId(String subscriptionId)
      Set the subscriptionId property: Subscription Id of the user's Key Vault containing the SSL certificate.
      Parameters:
      subscriptionId - the subscriptionId value to set.
      Returns:
      the KeyVaultCertificateSourceParameters object itself.
    • resourceGroupName

      public String resourceGroupName()
      Get the resourceGroupName property: Resource group of the user's Key Vault containing the SSL certificate.
      Returns:
      the resourceGroupName value.
    • withResourceGroupName

      public KeyVaultCertificateSourceParameters withResourceGroupName(String resourceGroupName)
      Set the resourceGroupName property: Resource group of the user's Key Vault containing the SSL certificate.
      Parameters:
      resourceGroupName - the resourceGroupName value to set.
      Returns:
      the KeyVaultCertificateSourceParameters object itself.
    • vaultName

      public String vaultName()
      Get the vaultName property: The name of the user's Key Vault containing the SSL certificate.
      Returns:
      the vaultName value.
    • withVaultName

      public KeyVaultCertificateSourceParameters withVaultName(String vaultName)
      Set the vaultName property: The name of the user's Key Vault containing the SSL certificate.
      Parameters:
      vaultName - the vaultName value to set.
      Returns:
      the KeyVaultCertificateSourceParameters object itself.
    • secretName

      public String secretName()
      Get the secretName property: The name of Key Vault Secret (representing the full certificate PFX) in Key Vault.
      Returns:
      the secretName value.
    • withSecretName

      public KeyVaultCertificateSourceParameters withSecretName(String secretName)
      Set the secretName property: The name of Key Vault Secret (representing the full certificate PFX) in Key Vault.
      Parameters:
      secretName - the secretName value to set.
      Returns:
      the KeyVaultCertificateSourceParameters object itself.
    • secretVersion

      public String secretVersion()
      Get the secretVersion property: The version(GUID) of Key Vault Secret in Key Vault.
      Returns:
      the secretVersion value.
    • withSecretVersion

      public KeyVaultCertificateSourceParameters withSecretVersion(String secretVersion)
      Set the secretVersion property: The version(GUID) of Key Vault Secret in Key Vault.
      Parameters:
      secretVersion - the secretVersion value to set.
      Returns:
      the KeyVaultCertificateSourceParameters object itself.
    • updateRule

      public UpdateRule updateRule()
      Get the updateRule property: Describes the action that shall be taken when the certificate is updated in Key Vault.
      Returns:
      the updateRule value.
    • withUpdateRule

      public KeyVaultCertificateSourceParameters withUpdateRule(UpdateRule updateRule)
      Set the updateRule property: Describes the action that shall be taken when the certificate is updated in Key Vault.
      Parameters:
      updateRule - the updateRule value to set.
      Returns:
      the KeyVaultCertificateSourceParameters object itself.
    • deleteRule

      public DeleteRule deleteRule()
      Get the deleteRule property: Describes the action that shall be taken when the certificate is removed from Key Vault.
      Returns:
      the deleteRule value.
    • withDeleteRule

      public KeyVaultCertificateSourceParameters withDeleteRule(DeleteRule deleteRule)
      Set the deleteRule property: Describes the action that shall be taken when the certificate is removed from Key Vault.
      Parameters:
      deleteRule - the deleteRule value to set.
      Returns:
      the KeyVaultCertificateSourceParameters object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.