UrlSigningKeyParameters Class

public class UrlSigningKeyParameters
extends SecretParameters

Url signing key parameters.

Constructor Summary

Constructor Description
UrlSigningKeyParameters()

Method Summary

Modifier and Type Method and Description
java.lang.String keyId()

Get defines the customer defined key Id.

ResourceReference secretSource()

Get resource reference to the KV secret.

java.lang.String secretVersion()

Get version of the secret to be used.

UrlSigningKeyParameters withKeyId(String keyId)

Set defines the customer defined key Id.

UrlSigningKeyParameters withSecretSource(ResourceReference secretSource)

Set resource reference to the KV secret.

UrlSigningKeyParameters withSecretVersion(String secretVersion)

Set version of the secret to be used.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

UrlSigningKeyParameters

public UrlSigningKeyParameters()

Method Details

keyId

public String keyId()

Get 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

secretSource

public ResourceReference secretSource()

Get resource reference to the KV secret.

Returns:

the secretSource value

secretVersion

public String secretVersion()

Get version of the secret to be used.

Returns:

the secretVersion value

withKeyId

public UrlSigningKeyParameters withKeyId(String keyId)

Set 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.

withSecretSource

public UrlSigningKeyParameters withSecretSource(ResourceReference secretSource)

Set resource reference to the KV secret.

Parameters:

secretSource - the secretSource value to set

Returns:

the UrlSigningKeyParameters object itself.

withSecretVersion

public UrlSigningKeyParameters withSecretVersion(String secretVersion)

Set version of the secret to be used.

Parameters:

secretVersion - the secretVersion value to set

Returns:

the UrlSigningKeyParameters object itself.

Applies to