Class ContentKeyPolicyTokenClaim

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

public final class ContentKeyPolicyTokenClaim extends Object
Represents a token claim.
  • Constructor Details

    • ContentKeyPolicyTokenClaim

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

    • claimType

      public String claimType()
      Get the claimType property: Token claim type.
      Returns:
      the claimType value.
    • withClaimType

      public ContentKeyPolicyTokenClaim withClaimType(String claimType)
      Set the claimType property: Token claim type.
      Parameters:
      claimType - the claimType value to set.
      Returns:
      the ContentKeyPolicyTokenClaim object itself.
    • claimValue

      public String claimValue()
      Get the claimValue property: Token claim value.
      Returns:
      the claimValue value.
    • withClaimValue

      public ContentKeyPolicyTokenClaim withClaimValue(String claimValue)
      Set the claimValue property: Token claim value.
      Parameters:
      claimValue - the claimValue value to set.
      Returns:
      the ContentKeyPolicyTokenClaim object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.