Interface ImplicitDeny.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ImplicitDeny.Builder,
,ImplicitDeny> SdkBuilder<ImplicitDeny.Builder,
,ImplicitDeny> SdkPojo
- Enclosing class:
ImplicitDeny
@Mutable
@NotThreadSafe
public static interface ImplicitDeny.Builder
extends SdkPojo, CopyableBuilder<ImplicitDeny.Builder,ImplicitDeny>
-
Method Summary
Modifier and TypeMethodDescriptionpolicies
(Collection<Policy> policies) Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.policies
(Consumer<Policy.Builder>... policies) Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.Policies that don't contain a matching allow or deny statement for the specified action on 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, sdkFieldNameToField, sdkFields
-
Method Details
-
policies
Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.
- Parameters:
policies
- Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.
- Parameters:
policies
- Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.
This is a convenience method that creates an instance of thePolicy.Builder
avoiding the need to create one manually viaPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topolicies(List<Policy>)
.- Parameters:
policies
- a consumer that will call methods onPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-