Interface BatchIsAuthorizedRequest.Builder

    • Method Detail

      • policyStoreId

        BatchIsAuthorizedRequest.Builder policyStoreId​(String policyStoreId)

        Specifies the ID of the policy store. Policies in this policy store will be used to make the authorization decisions for the input.

        Parameters:
        policyStoreId - Specifies the ID of the policy store. Policies in this policy store will be used to make the authorization decisions for the input.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • entities

        BatchIsAuthorizedRequest.Builder entities​(EntitiesDefinition entities)

        (Optional) Specifies the list of resources and principals and their associated attributes that Verified Permissions can examine when evaluating the policies. These additional entities and their attributes can be referenced and checked by conditional elements in the policies in the specified policy store.

        You can include only principal and resource entities in this parameter; you can't include actions. You must specify actions in the schema.

        Parameters:
        entities - (Optional) Specifies the list of resources and principals and their associated attributes that Verified Permissions can examine when evaluating the policies. These additional entities and their attributes can be referenced and checked by conditional elements in the policies in the specified policy store.

        You can include only principal and resource entities in this parameter; you can't include actions. You must specify actions in the schema.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • requests

        BatchIsAuthorizedRequest.Builder requests​(Collection<BatchIsAuthorizedInputItem> requests)

        An array of up to 30 requests that you want Verified Permissions to evaluate.

        Parameters:
        requests - An array of up to 30 requests that you want Verified Permissions to evaluate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • requests

        BatchIsAuthorizedRequest.Builder requests​(BatchIsAuthorizedInputItem... requests)

        An array of up to 30 requests that you want Verified Permissions to evaluate.

        Parameters:
        requests - An array of up to 30 requests that you want Verified Permissions to evaluate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.