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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAllowed.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 method that creates an instance of thePolicy.Builder avoiding the need to create one manually via
Policy.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #policies(List.
policies - a consumer that will call methods on Policy.Builder#policies(java.util.Collection) Copyright © 2023. All rights reserved.