Class KeyVaultSigningKeyParameters
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.KeyVaultSigningKeyParameters
-
public final class KeyVaultSigningKeyParameters extends Object
Describes the parameters for using a user's KeyVault for URL Signing Key.
-
-
Constructor Summary
Constructors Constructor Description KeyVaultSigningKeyParameters()Creates an instance of KeyVaultSigningKeyParameters class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringresourceGroupName()Get the resourceGroupName property: Resource group of the user's Key Vault containing the secret.StringsecretName()Get the secretName property: The name of secret in Key Vault.StringsecretVersion()Get the secretVersion property: The version(GUID) of secret in Key Vault.StringsubscriptionId()Get the subscriptionId property: Subscription Id of the user's Key Vault containing the secret.StringtypeName()Get the typeName property: The typeName property.voidvalidate()Validates the instance.StringvaultName()Get the vaultName property: The name of the user's Key Vault containing the secret.KeyVaultSigningKeyParameterswithResourceGroupName(String resourceGroupName)Set the resourceGroupName property: Resource group of the user's Key Vault containing the secret.KeyVaultSigningKeyParameterswithSecretName(String secretName)Set the secretName property: The name of secret in Key Vault.KeyVaultSigningKeyParameterswithSecretVersion(String secretVersion)Set the secretVersion property: The version(GUID) of secret in Key Vault.KeyVaultSigningKeyParameterswithSubscriptionId(String subscriptionId)Set the subscriptionId property: Subscription Id of the user's Key Vault containing the secret.KeyVaultSigningKeyParameterswithTypeName(String typeName)Set the typeName property: The typeName property.KeyVaultSigningKeyParameterswithVaultName(String vaultName)Set the vaultName property: The name of the user's Key Vault containing the secret.
-
-
-
Method Detail
-
typeName
public String typeName()
Get the typeName property: The typeName property.- Returns:
- the typeName value.
-
withTypeName
public KeyVaultSigningKeyParameters withTypeName(String typeName)
Set the typeName property: The typeName property.- Parameters:
typeName- the typeName value to set.- Returns:
- the KeyVaultSigningKeyParameters object itself.
-
subscriptionId
public String subscriptionId()
Get the subscriptionId property: Subscription Id of the user's Key Vault containing the secret.- Returns:
- the subscriptionId value.
-
withSubscriptionId
public KeyVaultSigningKeyParameters withSubscriptionId(String subscriptionId)
Set the subscriptionId property: Subscription Id of the user's Key Vault containing the secret.- Parameters:
subscriptionId- the subscriptionId value to set.- Returns:
- the KeyVaultSigningKeyParameters object itself.
-
resourceGroupName
public String resourceGroupName()
Get the resourceGroupName property: Resource group of the user's Key Vault containing the secret.- Returns:
- the resourceGroupName value.
-
withResourceGroupName
public KeyVaultSigningKeyParameters withResourceGroupName(String resourceGroupName)
Set the resourceGroupName property: Resource group of the user's Key Vault containing the secret.- Parameters:
resourceGroupName- the resourceGroupName value to set.- Returns:
- the KeyVaultSigningKeyParameters object itself.
-
vaultName
public String vaultName()
Get the vaultName property: The name of the user's Key Vault containing the secret.- Returns:
- the vaultName value.
-
withVaultName
public KeyVaultSigningKeyParameters withVaultName(String vaultName)
Set the vaultName property: The name of the user's Key Vault containing the secret.- Parameters:
vaultName- the vaultName value to set.- Returns:
- the KeyVaultSigningKeyParameters object itself.
-
secretName
public String secretName()
Get the secretName property: The name of secret in Key Vault.- Returns:
- the secretName value.
-
withSecretName
public KeyVaultSigningKeyParameters withSecretName(String secretName)
Set the secretName property: The name of secret in Key Vault.- Parameters:
secretName- the secretName value to set.- Returns:
- the KeyVaultSigningKeyParameters object itself.
-
secretVersion
public String secretVersion()
Get the secretVersion property: The version(GUID) of secret in Key Vault.- Returns:
- the secretVersion value.
-
withSecretVersion
public KeyVaultSigningKeyParameters withSecretVersion(String secretVersion)
Set the secretVersion property: The version(GUID) of secret in Key Vault.- Parameters:
secretVersion- the secretVersion value to set.- Returns:
- the KeyVaultSigningKeyParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-