public static interface ResourcePath.Builder extends CopyableBuilder<ResourcePath.Builder,ResourcePath>
Modifier and Type | Method and Description |
---|---|
ResourcePath.Builder |
components(Collection<ResourcePathComponent> components)
The components of the resource path.
|
ResourcePath.Builder |
components(Consumer<ResourcePathComponent.Builder>... components)
The components of the resource path.
|
ResourcePath.Builder |
components(ResourcePathComponent... components)
The components of the resource path.
|
copy
applyMutation, build
ResourcePath.Builder components(Collection<ResourcePathComponent> components)
The components of the resource path.
components
- The components of the resource path.ResourcePath.Builder components(ResourcePathComponent... components)
The components of the resource path.
components
- The components of the resource path.ResourcePath.Builder components(Consumer<ResourcePathComponent.Builder>... components)
The components of the resource path.
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 #components(List)
.components
- a consumer that will call methods on List.Builder
#components(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.