Interface ResourceSelector.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceSelector.Builder,,ResourceSelector> SdkBuilder<ResourceSelector.Builder,,ResourceSelector> SdkPojo
- Enclosing class:
ResourceSelector
@Mutable
@NotThreadSafe
public static interface ResourceSelector.Builder
extends SdkPojo, CopyableBuilder<ResourceSelector.Builder,ResourceSelector>
-
Method Summary
Modifier and TypeMethodDescriptionpath(Collection<PathSegment> path) Ordered hierarchy path from the root to the selected resource.path(Consumer<PathSegment.Builder>... path) Ordered hierarchy path from the root to the selected resource.path(PathSegment... path) Ordered hierarchy path from the root to the selected resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
path
Ordered hierarchy path from the root to the selected resource. Must be non-empty.
- Parameters:
path- Ordered hierarchy path from the root to the selected resource. Must be non-empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
Ordered hierarchy path from the root to the selected resource. Must be non-empty.
- Parameters:
path- Ordered hierarchy path from the root to the selected resource. Must be non-empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
Ordered hierarchy path from the root to the selected resource. Must be non-empty.
This is a convenience method that creates an instance of thePathSegment.Builderavoiding the need to create one manually viaPathSegment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topath(List<PathSegment>).- Parameters:
path- a consumer that will call methods onPathSegment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-