public static interface PolicyDefinition.Builder extends SdkPojo, CopyableBuilder<PolicyDefinition.Builder,PolicyDefinition>
| Modifier and Type | Method and Description |
|---|---|
default PolicyDefinition.Builder |
staticValue(Consumer<StaticPolicyDefinition.Builder> staticValue)
A structure that describes a static policy.
|
PolicyDefinition.Builder |
staticValue(StaticPolicyDefinition staticValue)
A structure that describes a static policy.
|
default PolicyDefinition.Builder |
templateLinked(Consumer<TemplateLinkedPolicyDefinition.Builder> templateLinked)
A structure that describes a policy that was instantiated from a template.
|
PolicyDefinition.Builder |
templateLinked(TemplateLinkedPolicyDefinition templateLinked)
A structure that describes a policy that was instantiated from a template.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPolicyDefinition.Builder staticValue(StaticPolicyDefinition staticValue)
A structure that describes a static policy. An static policy doesn't use a template or allow placeholders for entities.
staticValue - A structure that describes a static policy. An static policy doesn't use a template or allow
placeholders for entities.default PolicyDefinition.Builder staticValue(Consumer<StaticPolicyDefinition.Builder> staticValue)
A structure that describes a static policy. An static policy doesn't use a template or allow placeholders for entities.
This is a convenience method that creates an instance of theStaticPolicyDefinition.Builder avoiding
the need to create one manually via StaticPolicyDefinition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to staticValue(StaticPolicyDefinition).
staticValue - a consumer that will call methods on StaticPolicyDefinition.BuilderstaticValue(StaticPolicyDefinition)PolicyDefinition.Builder templateLinked(TemplateLinkedPolicyDefinition templateLinked)
A structure that describes a policy that was instantiated from a template. The template can specify
placeholders for principal and resource. When you use CreatePolicy to create a policy from a template, you specify the exact principal and resource to use for
the instantiated policy.
templateLinked - A structure that describes a policy that was instantiated from a template. The template can specify
placeholders for principal and resource. When you use CreatePolicy to create a policy from a template, you specify the exact principal and resource to
use for the instantiated policy.default PolicyDefinition.Builder templateLinked(Consumer<TemplateLinkedPolicyDefinition.Builder> templateLinked)
A structure that describes a policy that was instantiated from a template. The template can specify
placeholders for principal and resource. When you use CreatePolicy to create a policy from a template, you specify the exact principal and resource to use for
the instantiated policy.
TemplateLinkedPolicyDefinition.Builder
avoiding the need to create one manually via TemplateLinkedPolicyDefinition.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to templateLinked(TemplateLinkedPolicyDefinition).
templateLinked - a consumer that will call methods on TemplateLinkedPolicyDefinition.BuildertemplateLinked(TemplateLinkedPolicyDefinition)Copyright © 2023. All rights reserved.