Class SharedAccessAuthorizationRuleProperties


  • public final class SharedAccessAuthorizationRuleProperties
    extends Object
    SharedAccessAuthorizationRule properties.
    • Constructor Detail

      • SharedAccessAuthorizationRuleProperties

        public SharedAccessAuthorizationRuleProperties()
    • Method Detail

      • rights

        public List<AccessRights> rights()
        Get the rights property: The rights associated with the rule.
        Returns:
        the rights value.
      • withRights

        public SharedAccessAuthorizationRuleProperties withRights​(List<AccessRights> rights)
        Set the rights property: The rights associated with the rule.
        Parameters:
        rights - the rights value to set.
        Returns:
        the SharedAccessAuthorizationRuleProperties object itself.
      • primaryKey

        public String primaryKey()
        Get the primaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.
        Returns:
        the primaryKey value.
      • secondaryKey

        public String secondaryKey()
        Get the secondaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.
        Returns:
        the secondaryKey value.
      • keyName

        public String keyName()
        Get the keyName property: A string that describes the authorization rule.
        Returns:
        the keyName value.
      • claimType

        public String claimType()
        Get the claimType property: A string that describes the claim type.
        Returns:
        the claimType value.
      • claimValue

        public String claimValue()
        Get the claimValue property: A string that describes the claim value.
        Returns:
        the claimValue value.
      • modifiedTime

        public String modifiedTime()
        Get the modifiedTime property: The last modified time for this rule.
        Returns:
        the modifiedTime value.
      • createdTime

        public String createdTime()
        Get the createdTime property: The created time for this rule.
        Returns:
        the createdTime value.
      • revision

        public Integer revision()
        Get the revision property: The revision number for the rule.
        Returns:
        the revision value.
      • validate

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