Interface Allowed.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Allowed.Builder,,Allowed> SdkBuilder<Allowed.Builder,,Allowed> SdkPojo
- Enclosing class:
Allowed
-
Method Summary
Modifier and TypeMethodDescriptionpolicies(Collection<Policy> policies) A list of policies that allowed the authentication.policies(Consumer<Policy.Builder>... policies) A list of policies that allowed the authentication.A list of policies that allowed the authentication.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, sdkFields
-
Method Details
-
policies
A list of policies that allowed the authentication.
- Parameters:
policies- A list of policies that allowed the authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
A list of policies that allowed the authentication.
- Parameters:
policies- A list of policies that allowed the authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
A list of policies that allowed the authentication.
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:
-