Class UrlSigningKey
java.lang.Object
com.azure.resourcemanager.cdn.models.UrlSigningKey
Url signing key.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionkeyId()Get the keyId property: Defines the customer defined key Id.Get the keySourceParameters property: Defines the parameters for using customer key vault for Url Signing Key.voidvalidate()Validates the instance.Set the keyId property: Defines the customer defined key Id.withKeySourceParameters(KeyVaultSigningKeyParameters keySourceParameters) Set the keySourceParameters property: Defines the parameters for using customer key vault for Url Signing Key.
-
Constructor Details
-
UrlSigningKey
public UrlSigningKey()
-
-
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 UrlSigningKey object itself.
-
keySourceParameters
Get the keySourceParameters property: Defines the parameters for using customer key vault for Url Signing Key.- Returns:
- the keySourceParameters value.
-
withKeySourceParameters
Set the keySourceParameters property: Defines the parameters for using customer key vault for Url Signing Key.- Parameters:
keySourceParameters- the keySourceParameters value to set.- Returns:
- the UrlSigningKey object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-