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
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
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 Detail
-
components
ResourcePath.Builder components(Collection<ResourcePathComponent> 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
ResourcePath.Builder components(ResourcePathComponent... 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
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 viaResourcePathComponent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#components(List
.) - 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:
#components(java.util.Collection
)
-
-