Class UrlSigningKey


  • public final class UrlSigningKey
    extends Object
    Url signing key.
    • Constructor Detail

      • UrlSigningKey

        public UrlSigningKey()
    • 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.