public static interface PolicyToPath.Builder extends CopyableBuilder<PolicyToPath.Builder,PolicyToPath>
| Modifier and Type | Method and Description |
|---|---|
PolicyToPath.Builder |
path(String path)
The path that is referenced from the root.
|
PolicyToPath.Builder |
policies(Collection<PolicyAttachment> policies)
List of policy objects.
|
PolicyToPath.Builder |
policies(Consumer<PolicyAttachment.Builder>... policies)
List of policy objects.
|
PolicyToPath.Builder |
policies(PolicyAttachment... policies)
List of policy objects.
|
copyapply, buildPolicyToPath.Builder path(String path)
The path that is referenced from the root.
path - The path that is referenced from the root.PolicyToPath.Builder policies(Collection<PolicyAttachment> policies)
List of policy objects.
policies - List of policy objects.PolicyToPath.Builder policies(PolicyAttachment... policies)
List of policy objects.
policies - List of policy objects.PolicyToPath.Builder policies(Consumer<PolicyAttachment.Builder>... policies)
List of policy objects.
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.