public static interface PolicyFilter.Builder extends SdkPojo, CopyableBuilder<PolicyFilter.Builder,PolicyFilter>
| Modifier and Type | Method and Description |
|---|---|
PolicyFilter.Builder |
policyTemplateId(String policyTemplateId)
Filters the output to only template-linked policies that were instantiated from the specified policy
template.
|
PolicyFilter.Builder |
policyType(PolicyType policyType)
Filters the output to only policies of the specified type.
|
PolicyFilter.Builder |
policyType(String policyType)
Filters the output to only policies of the specified type.
|
default PolicyFilter.Builder |
principal(Consumer<EntityReference.Builder> principal)
Filters the output to only policies that reference the specified principal.
|
PolicyFilter.Builder |
principal(EntityReference principal)
Filters the output to only policies that reference the specified principal.
|
default PolicyFilter.Builder |
resource(Consumer<EntityReference.Builder> resource)
Filters the output to only policies that reference the specified resource.
|
PolicyFilter.Builder |
resource(EntityReference resource)
Filters the output to only policies that reference the specified resource.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPolicyFilter.Builder principal(EntityReference principal)
Filters the output to only policies that reference the specified principal.
principal - Filters the output to only policies that reference the specified principal.default PolicyFilter.Builder principal(Consumer<EntityReference.Builder> principal)
Filters the output to only policies that reference the specified principal.
This is a convenience method that creates an instance of theEntityReference.Builder avoiding the
need to create one manually via EntityReference.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to principal(EntityReference).
principal - a consumer that will call methods on EntityReference.Builderprincipal(EntityReference)PolicyFilter.Builder resource(EntityReference resource)
Filters the output to only policies that reference the specified resource.
resource - Filters the output to only policies that reference the specified resource.default PolicyFilter.Builder resource(Consumer<EntityReference.Builder> resource)
Filters the output to only policies that reference the specified resource.
This is a convenience method that creates an instance of theEntityReference.Builder avoiding the
need to create one manually via EntityReference.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to resource(EntityReference).
resource - a consumer that will call methods on EntityReference.Builderresource(EntityReference)PolicyFilter.Builder policyType(String policyType)
Filters the output to only policies of the specified type.
policyType - Filters the output to only policies of the specified type.PolicyType,
PolicyTypePolicyFilter.Builder policyType(PolicyType policyType)
Filters the output to only policies of the specified type.
policyType - Filters the output to only policies of the specified type.PolicyType,
PolicyTypePolicyFilter.Builder policyTemplateId(String policyTemplateId)
Filters the output to only template-linked policies that were instantiated from the specified policy template.
policyTemplateId - Filters the output to only template-linked policies that were instantiated from the specified policy
template.Copyright © 2023. All rights reserved.