Class UrlSigningKeyParameters
java.lang.Object
com.azure.resourcemanager.cdn.models.SecretParameters
com.azure.resourcemanager.cdn.models.UrlSigningKeyParameters
Url signing key parameters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionkeyId()Get the keyId property: Defines the customer defined key Id.Get the secretSource property: Resource reference to the Azure Key Vault secret.Get the secretVersion property: Version of the secret to be used.voidvalidate()Validates the instance.Set the keyId property: Defines the customer defined key Id.withSecretSource(ResourceReference secretSource) Set the secretSource property: Resource reference to the Azure Key Vault secret.withSecretVersion(String secretVersion) Set the secretVersion property: Version of the secret to be used.
-
Constructor Details
-
UrlSigningKeyParameters
public UrlSigningKeyParameters()
-
-
Method Details
-
keyId
Get the keyId property: Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash.- Returns:
- the keyId value.
-
withKeyId
Set the keyId property: Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash.- Parameters:
keyId- the keyId value to set.- Returns:
- the UrlSigningKeyParameters object itself.
-
secretSource
Get the secretSource property: Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName}.- Returns:
- the secretSource value.
-
withSecretSource
Set the secretSource property: Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName}.- Parameters:
secretSource- the secretSource value to set.- Returns:
- the UrlSigningKeyParameters object itself.
-
secretVersion
Get the secretVersion property: Version of the secret to be used.- Returns:
- the secretVersion value.
-
withSecretVersion
Set the secretVersion property: Version of the secret to be used.- Parameters:
secretVersion- the secretVersion value to set.- Returns:
- the UrlSigningKeyParameters object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classSecretParameters- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-