Class Permissions


  • public final class Permissions
    extends Object
    Permissions the identity has for keys, secrets, certificates and storage.
    • Constructor Detail

      • Permissions

        public Permissions()
    • Method Detail

      • keys

        public List<KeyPermissions> keys()
        Get the keys property: Permissions to keys.
        Returns:
        the keys value.
      • withKeys

        public Permissions withKeys​(List<KeyPermissions> keys)
        Set the keys property: Permissions to keys.
        Parameters:
        keys - the keys value to set.
        Returns:
        the Permissions object itself.
      • secrets

        public List<SecretPermissions> secrets()
        Get the secrets property: Permissions to secrets.
        Returns:
        the secrets value.
      • withSecrets

        public Permissions withSecrets​(List<SecretPermissions> secrets)
        Set the secrets property: Permissions to secrets.
        Parameters:
        secrets - the secrets value to set.
        Returns:
        the Permissions object itself.
      • certificates

        public List<CertificatePermissions> certificates()
        Get the certificates property: Permissions to certificates.
        Returns:
        the certificates value.
      • withCertificates

        public Permissions withCertificates​(List<CertificatePermissions> certificates)
        Set the certificates property: Permissions to certificates.
        Parameters:
        certificates - the certificates value to set.
        Returns:
        the Permissions object itself.
      • storage

        public List<StoragePermissions> storage()
        Get the storage property: Permissions to storage accounts.
        Returns:
        the storage value.
      • withStorage

        public Permissions withStorage​(List<StoragePermissions> storage)
        Set the storage property: Permissions to storage accounts.
        Parameters:
        storage - the storage value to set.
        Returns:
        the Permissions object itself.
      • validate

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