Class AkamaiSignatureHeaderAuthenticationKey

java.lang.Object
com.azure.resourcemanager.mediaservices.models.AkamaiSignatureHeaderAuthenticationKey

public final class AkamaiSignatureHeaderAuthenticationKey extends Object
Akamai Signature Header authentication key.
  • Constructor Details

    • AkamaiSignatureHeaderAuthenticationKey

      public AkamaiSignatureHeaderAuthenticationKey()
      Creates an instance of AkamaiSignatureHeaderAuthenticationKey class.
  • Method Details

    • identifier

      public String identifier()
      Get the identifier property: identifier of the key.
      Returns:
      the identifier value.
    • withIdentifier

      public AkamaiSignatureHeaderAuthenticationKey withIdentifier(String identifier)
      Set the identifier property: identifier of the key.
      Parameters:
      identifier - the identifier value to set.
      Returns:
      the AkamaiSignatureHeaderAuthenticationKey object itself.
    • base64Key

      public String base64Key()
      Get the base64Key property: authentication key.
      Returns:
      the base64Key value.
    • withBase64Key

      public AkamaiSignatureHeaderAuthenticationKey withBase64Key(String base64Key)
      Set the base64Key property: authentication key.
      Parameters:
      base64Key - the base64Key value to set.
      Returns:
      the AkamaiSignatureHeaderAuthenticationKey object itself.
    • expiration

      public OffsetDateTime expiration()
      Get the expiration property: The expiration time of the authentication key.
      Returns:
      the expiration value.
    • withExpiration

      public AkamaiSignatureHeaderAuthenticationKey withExpiration(OffsetDateTime expiration)
      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.