Interface PolicyFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyFilter.Builder,PolicyFilter>,SdkBuilder<PolicyFilter.Builder,PolicyFilter>,SdkPojo
- Enclosing class:
- PolicyFilter
public static interface PolicyFilter.Builder extends SdkPojo, CopyableBuilder<PolicyFilter.Builder,PolicyFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PolicyFilter.BuilderpolicyTemplateId(String policyTemplateId)Filters the output to only template-linked policies that were instantiated from the specified policy template.PolicyFilter.BuilderpolicyType(String policyType)Filters the output to only policies of the specified type.PolicyFilter.BuilderpolicyType(PolicyType policyType)Filters the output to only policies of the specified type.default PolicyFilter.Builderprincipal(Consumer<EntityReference.Builder> principal)Filters the output to only policies that reference the specified principal.PolicyFilter.Builderprincipal(EntityReference principal)Filters the output to only policies that reference the specified principal.default PolicyFilter.Builderresource(Consumer<EntityReference.Builder> resource)Filters the output to only policies that reference the specified resource.PolicyFilter.Builderresource(EntityReference resource)Filters the output to only policies that reference the specified resource.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
principal
PolicyFilter.Builder principal(EntityReference principal)
Filters the output to only policies that reference the specified principal.
- Parameters:
principal- Filters the output to only policies that reference the specified principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaEntityReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprincipal(EntityReference).- Parameters:
principal- a consumer that will call methods onEntityReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
principal(EntityReference)
-
resource
PolicyFilter.Builder resource(EntityReference resource)
Filters the output to only policies that reference the specified resource.
- Parameters:
resource- Filters the output to only policies that reference the specified resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaEntityReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresource(EntityReference).- Parameters:
resource- a consumer that will call methods onEntityReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resource(EntityReference)
-
policyType
PolicyFilter.Builder policyType(String policyType)
Filters the output to only policies of the specified type.
- Parameters:
policyType- Filters the output to only policies of the specified type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PolicyType,PolicyType
-
policyType
PolicyFilter.Builder policyType(PolicyType policyType)
Filters the output to only policies of the specified type.
- Parameters:
policyType- Filters the output to only policies of the specified type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PolicyType,PolicyType
-
policyTemplateId
PolicyFilter.Builder policyTemplateId(String policyTemplateId)
Filters the output to only template-linked policies that were instantiated from the specified policy template.
- Parameters:
policyTemplateId- Filters the output to only template-linked policies that were instantiated from the specified policy template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-