UrlSigningKey Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.models.UrlSigningKey

public final class UrlSigningKey

Url signing key.

Constructor Summary

Constructor Description
UrlSigningKey()

Creates an instance of UrlSigningKey class.

Method Summary

Modifier and Type Method and Description
String keyId()

Get the keyId property: Defines the customer defined key Id.

KeyVaultSigningKeyParameters keySourceParameters()

Get the keySourceParameters property: Defines the parameters for using customer key vault for Url Signing Key.

void validate()

Validates the instance.

UrlSigningKey withKeyId(String keyId)

Set the keyId property: Defines the customer defined key Id.

UrlSigningKey withKeySourceParameters(KeyVaultSigningKeyParameters keySourceParameters)

Set the keySourceParameters property: Defines the parameters for using customer key vault for Url Signing Key.

Methods inherited from java.lang.Object

Constructor Details

UrlSigningKey

public UrlSigningKey()

Creates an instance of UrlSigningKey class.

Method Details

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.

keySourceParameters

public KeyVaultSigningKeyParameters keySourceParameters()

Get the keySourceParameters property: Defines the parameters for using customer key vault for Url Signing Key.

Returns:

the keySourceParameters value.

validate

public void validate()

Validates the instance.

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.

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.

Applies to