Interface TemplateLinkedPolicyDefinitionItem.Builder

    • Method Detail

      • policyTemplateId

        TemplateLinkedPolicyDefinitionItem.Builder policyTemplateId​(String policyTemplateId)

        The unique identifier of the policy template used to create this policy.

        Parameters:
        policyTemplateId - The unique identifier of the policy template used to create this policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • principal

        TemplateLinkedPolicyDefinitionItem.Builder principal​(EntityIdentifier principal)

        The principal associated with this template-linked policy. Verified Permissions substitutes this principal for the ?principal placeholder in the policy template when it evaluates an authorization request.

        Parameters:
        principal - The principal associated with this template-linked policy. Verified Permissions substitutes this principal for the ?principal placeholder in the policy template when it evaluates an authorization request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resource

        TemplateLinkedPolicyDefinitionItem.Builder resource​(EntityIdentifier resource)

        The resource associated with this template-linked policy. Verified Permissions substitutes this resource for the ?resource placeholder in the policy template when it evaluates an authorization request.

        Parameters:
        resource - The resource associated with this template-linked policy. Verified Permissions substitutes this resource for the ?resource placeholder in the policy template when it evaluates an authorization request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.