public static interface TemplateLinkedPolicyDefinitionItem.Builder extends SdkPojo, CopyableBuilder<TemplateLinkedPolicyDefinitionItem.Builder,TemplateLinkedPolicyDefinitionItem>
| Modifier and Type | Method and Description |
|---|---|
TemplateLinkedPolicyDefinitionItem.Builder |
policyTemplateId(String policyTemplateId)
The unique identifier of the policy template used to create this policy.
|
default TemplateLinkedPolicyDefinitionItem.Builder |
principal(Consumer<EntityIdentifier.Builder> principal)
The principal associated with this template-linked policy.
|
TemplateLinkedPolicyDefinitionItem.Builder |
principal(EntityIdentifier principal)
The principal associated with this template-linked policy.
|
default TemplateLinkedPolicyDefinitionItem.Builder |
resource(Consumer<EntityIdentifier.Builder> resource)
The resource associated with this template-linked policy.
|
TemplateLinkedPolicyDefinitionItem.Builder |
resource(EntityIdentifier resource)
The resource associated with this template-linked policy.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTemplateLinkedPolicyDefinitionItem.Builder policyTemplateId(String policyTemplateId)
The unique identifier of the policy template used to create this policy.
policyTemplateId - The unique identifier of the policy template used to create this policy.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.
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.default TemplateLinkedPolicyDefinitionItem.Builder principal(Consumer<EntityIdentifier.Builder> 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.
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).
principal - a consumer that will call methods on EntityIdentifier.Builderprincipal(EntityIdentifier)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.
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.default TemplateLinkedPolicyDefinitionItem.Builder resource(Consumer<EntityIdentifier.Builder> 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.
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).
resource - a consumer that will call methods on EntityIdentifier.Builderresource(EntityIdentifier)Copyright © 2023. All rights reserved.