Interface ExplicitDeny.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExplicitDeny.Builder,,ExplicitDeny> SdkBuilder<ExplicitDeny.Builder,,ExplicitDeny> SdkPojo
- Enclosing class:
ExplicitDeny
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaPolicy.builder().When the
Consumercompletes,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:
-