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 Summary
Constructors Constructor Description KeyVaultCertificateSourceParameters()Creates an instance of KeyVaultCertificateSourceParameters class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteRuledeleteRule()Get the deleteRule property: Describes the action that shall be taken when the certificate is removed from Key Vault.StringodataType()Get the odataType property: The @odata.type property.StringresourceGroupName()Get the resourceGroupName property: Resource group of the user's Key Vault containing the SSL certificate.StringsecretName()Get the secretName property: The name of Key Vault Secret (representing the full certificate PFX) in Key Vault.StringsecretVersion()Get the secretVersion property: The version(GUID) of Key Vault Secret in Key Vault.StringsubscriptionId()Get the subscriptionId property: Subscription Id of the user's Key Vault containing the SSL certificate.UpdateRuleupdateRule()Get the updateRule property: Describes the action that shall be taken when the certificate is updated in Key Vault.voidvalidate()Validates the instance.StringvaultName()Get the vaultName property: The name of the user's Key Vault containing the SSL certificate.KeyVaultCertificateSourceParameterswithDeleteRule(DeleteRule deleteRule)Set the deleteRule property: Describes the action that shall be taken when the certificate is removed from Key Vault.KeyVaultCertificateSourceParameterswithOdataType(String odataType)Set the odataType property: The @odata.type property.KeyVaultCertificateSourceParameterswithResourceGroupName(String resourceGroupName)Set the resourceGroupName property: Resource group of the user's Key Vault containing the SSL certificate.KeyVaultCertificateSourceParameterswithSecretName(String secretName)Set the secretName property: The name of Key Vault Secret (representing the full certificate PFX) in Key Vault.KeyVaultCertificateSourceParameterswithSecretVersion(String secretVersion)Set the secretVersion property: The version(GUID) of Key Vault Secret in Key Vault.KeyVaultCertificateSourceParameterswithSubscriptionId(String subscriptionId)Set the subscriptionId property: Subscription Id of the user's Key Vault containing the SSL certificate.KeyVaultCertificateSourceParameterswithUpdateRule(UpdateRule updateRule)Set the updateRule property: Describes the action that shall be taken when the certificate is updated in Key Vault.KeyVaultCertificateSourceParameterswithVaultName(String vaultName)Set the vaultName property: The name of the user's Key Vault containing the SSL certificate.
-
-
-
Method Detail
-
odataType
public String odataType()
Get the odataType property: The @odata.type property.- Returns:
- the odataType value.
-
withOdataType
public KeyVaultCertificateSourceParameters withOdataType(String odataType)
Set the odataType property: The @odata.type property.- Parameters:
odataType- the odataType 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.
-
-