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