Class UrlSigningKey
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.UrlSigningKey
-
public final class UrlSigningKey extends Object
Url signing key.
-
-
Constructor Summary
Constructors Constructor Description UrlSigningKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringkeyId()Get the keyId property: Defines the customer defined key Id.KeyVaultSigningKeyParameterskeySourceParameters()Get the keySourceParameters property: Defines the parameters for using customer key vault for Url Signing Key.voidvalidate()Validates the instance.UrlSigningKeywithKeyId(String keyId)Set the keyId property: Defines the customer defined key Id.UrlSigningKeywithKeySourceParameters(KeyVaultSigningKeyParameters keySourceParameters)Set the keySourceParameters property: Defines the parameters for using customer key vault for Url Signing Key.
-
-
-
Method Detail
-
keyId
public String 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
public UrlSigningKey withKeyId(String keyId)
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
public KeyVaultSigningKeyParameters keySourceParameters()
Get the keySourceParameters property: Defines the parameters for using customer key vault for Url Signing Key.- Returns:
- the keySourceParameters value.
-
withKeySourceParameters
public UrlSigningKey withKeySourceParameters(KeyVaultSigningKeyParameters keySourceParameters)
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.
-
-