Interface Location.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Location.Builder,
,Location> SdkBuilder<Location.Builder,
,Location> SdkPojo
- Enclosing class:
Location
public static interface Location.Builder
extends SdkPojo, CopyableBuilder<Location.Builder,Location>
-
Method Summary
Modifier and TypeMethodDescriptionpath
(Collection<PathElement> path) A path in a policy, represented as a sequence of path elements.path
(Consumer<PathElement.Builder>... path) A path in a policy, represented as a sequence of path elements.path
(PathElement... path) A path in a policy, represented as a sequence of path elements.default Location.Builder
span
(Consumer<Span.Builder> span) A span in a policy.A span in a policy.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
-
path
A path in a policy, represented as a sequence of path elements.
- Parameters:
path
- A path in a policy, represented as a sequence of path elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
A path in a policy, represented as a sequence of path elements.
- Parameters:
path
- A path in a policy, represented as a sequence of path elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
A path in a policy, represented as a sequence of path elements.
This is a convenience method that creates an instance of thePathElement.Builder
avoiding the need to create one manually viaPathElement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topath(List<PathElement>)
.- Parameters:
path
- a consumer that will call methods onPathElement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
span
A span in a policy.
- Parameters:
span
- A span in a policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
span
A span in a policy.
This is a convenience method that creates an instance of theSpan.Builder
avoiding the need to create one manually viaSpan.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tospan(Span)
.- Parameters:
span
- a consumer that will call methods onSpan.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-