public static interface Allowed.Builder extends SdkPojo, CopyableBuilder<Allowed.Builder,Allowed>
Modifier and Type | Method and Description |
---|---|
Allowed.Builder |
policies(Collection<Policy> policies)
A list of policies that allowed the authentication.
|
Allowed.Builder |
policies(Consumer<Policy.Builder>... policies)
A list of policies that allowed the authentication.
|
Allowed.Builder |
policies(Policy... policies)
A list of policies that allowed the authentication.
|
copy
applyMutation, build
Allowed.Builder policies(Collection<Policy> policies)
A list of policies that allowed the authentication.
policies
- A list of policies that allowed the authentication.Allowed.Builder policies(Policy... policies)
A list of policies that allowed the authentication.
policies
- A list of policies that allowed the authentication.Allowed.Builder policies(Consumer<Policy.Builder>... policies)
A list of policies that allowed the authentication.
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.