Interface ExplicitDeny.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExplicitDeny.Builder,
,ExplicitDeny> SdkBuilder<ExplicitDeny.Builder,
,ExplicitDeny> SdkPojo
- Enclosing class:
ExplicitDeny
public static interface ExplicitDeny.Builder
extends SdkPojo, CopyableBuilder<ExplicitDeny.Builder,ExplicitDeny>
-
Method Summary
Modifier and TypeMethodDescriptionpolicies
(Collection<Policy> policies) The policies that denied the authorization.policies
(Consumer<Policy.Builder>... policies) The policies that denied the authorization.The policies that denied the authorization.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 Details
-
policies
The policies that denied the authorization.
- Parameters:
policies
- The policies that denied the authorization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
The policies that denied the authorization.
- Parameters:
policies
- The policies that denied the authorization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
The policies that denied the authorization.
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:
-