Class AkamaiSignatureHeaderAuthenticationKey
java.lang.Object
com.azure.resourcemanager.mediaservices.models.AkamaiSignatureHeaderAuthenticationKey
Akamai Signature Header authentication key.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AkamaiSignatureHeaderAuthenticationKey class. -
Method Summary
Modifier and TypeMethodDescriptionGet the base64Key property: authentication key.Get the expiration property: The expiration time of the authentication key.Get the identifier property: identifier of the key.void
validate()
Validates the instance.withBase64Key
(String base64Key) Set the base64Key property: authentication key.withExpiration
(OffsetDateTime expiration) Set the expiration property: The expiration time of the authentication key.withIdentifier
(String identifier) Set the identifier property: identifier of the key.
-
Constructor Details
-
AkamaiSignatureHeaderAuthenticationKey
public AkamaiSignatureHeaderAuthenticationKey()Creates an instance of AkamaiSignatureHeaderAuthenticationKey class.
-
-
Method Details
-
identifier
Get the identifier property: identifier of the key.- Returns:
- the identifier value.
-
withIdentifier
Set the identifier property: identifier of the key.- Parameters:
identifier
- the identifier value to set.- Returns:
- the AkamaiSignatureHeaderAuthenticationKey object itself.
-
base64Key
Get the base64Key property: authentication key.- Returns:
- the base64Key value.
-
withBase64Key
Set the base64Key property: authentication key.- Parameters:
base64Key
- the base64Key value to set.- Returns:
- the AkamaiSignatureHeaderAuthenticationKey object itself.
-
expiration
Get the expiration property: The expiration time of the authentication key.- Returns:
- the expiration value.
-
withExpiration
Set the expiration property: The expiration time of the authentication key.- Parameters:
expiration
- the expiration value to set.- Returns:
- the AkamaiSignatureHeaderAuthenticationKey object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-