public static interface ExplicitDeny.Builder extends SdkPojo, CopyableBuilder<ExplicitDeny.Builder,ExplicitDeny>
Modifier and Type | Method and Description |
---|---|
ExplicitDeny.Builder |
policies(Collection<Policy> policies)
The policies that denied the authorization.
|
ExplicitDeny.Builder |
policies(Consumer<Policy.Builder>... policies)
The policies that denied the authorization.
|
ExplicitDeny.Builder |
policies(Policy... policies)
The policies that denied the authorization.
|
copy
applyMutation, build
ExplicitDeny.Builder policies(Collection<Policy> policies)
The policies that denied the authorization.
policies
- The policies that denied the authorization.ExplicitDeny.Builder policies(Policy... policies)
The policies that denied the authorization.
policies
- The policies that denied the authorization.ExplicitDeny.Builder policies(Consumer<Policy.Builder>... policies)
The policies that denied the authorization.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #policies(List)
.policies
- a consumer that will call methods on List.Builder
#policies(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.