Interface TemplateLinkedPolicyDefinitionItem.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TemplateLinkedPolicyDefinitionItem.Builder,TemplateLinkedPolicyDefinitionItem>, SdkBuilder<TemplateLinkedPolicyDefinitionItem.Builder,TemplateLinkedPolicyDefinitionItem>, SdkPojo
Enclosing class:
TemplateLinkedPolicyDefinitionItem

public static interface TemplateLinkedPolicyDefinitionItem.Builder extends SdkPojo, CopyableBuilder<TemplateLinkedPolicyDefinitionItem.Builder,TemplateLinkedPolicyDefinitionItem>
  • Method Details

    • 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

      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.
    • 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.

      This is a convenience method that creates an instance of the EntityIdentifier.Builder avoiding the need to create one manually via EntityIdentifier.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to principal(EntityIdentifier).

      Parameters:
      principal - a consumer that will call methods on EntityIdentifier.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • 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.

      This is a convenience method that creates an instance of the EntityIdentifier.Builder avoiding the need to create one manually via EntityIdentifier.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resource(EntityIdentifier).

      Parameters:
      resource - a consumer that will call methods on EntityIdentifier.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: