Interface ResourcePath.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourcePath.Builder,
,ResourcePath> SdkBuilder<ResourcePath.Builder,
,ResourcePath> SdkPojo
- Enclosing class:
ResourcePath
public static interface ResourcePath.Builder
extends SdkPojo, CopyableBuilder<ResourcePath.Builder,ResourcePath>
-
Method Summary
Modifier and TypeMethodDescriptioncomponents
(Collection<ResourcePathComponent> components) The components of the resource path.components
(Consumer<ResourcePathComponent.Builder>... components) The components of the resource path.components
(ResourcePathComponent... components) The components of the resource path.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
components
The components of the resource path.
- Parameters:
components
- The components of the resource path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
components
The components of the resource path.
- Parameters:
components
- The components of the resource path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaResourcePathComponent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomponents(List<ResourcePathComponent>)
.- Parameters:
components
- a consumer that will call methods onResourcePathComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-