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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExplicitDeny.Builderpolicies(Collection<Policy> policies)The policies that denied the authorization.ExplicitDeny.Builderpolicies(Consumer<Policy.Builder>... policies)The policies that denied the authorization.ExplicitDeny.Builderpolicies(Policy... policies)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 Detail
-
policies
ExplicitDeny.Builder policies(Collection<Policy> 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
ExplicitDeny.Builder policies(Policy... 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
ExplicitDeny.Builder policies(Consumer<Policy.Builder>... 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 to#policies(List.) - 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:
#policies(java.util.Collection)
-
-