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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Location.Builderpath(Collection<PathElement> path)A path in a policy, represented as a sequence of path elements.Location.Builderpath(Consumer<PathElement.Builder>... path)A path in a policy, represented as a sequence of path elements.Location.Builderpath(PathElement... path)A path in a policy, represented as a sequence of path elements.default Location.Builderspan(Consumer<Span.Builder> span)A span in a policy.Location.Builderspan(Span span)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 Detail
-
path
Location.Builder path(Collection<PathElement> 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
Location.Builder path(PathElement... 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
Location.Builder path(Consumer<PathElement.Builder>... path)
A path in a policy, represented as a sequence of path elements.
This is a convenience method that creates an instance of thePathElement.Builderavoiding the need to create one manually viaPathElement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#path(List.) - 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:
#path(java.util.Collection)
-
span
Location.Builder span(Span 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
default Location.Builder span(Consumer<Span.Builder> span)
A span in a policy.
This is a convenience method that creates an instance of theSpan.Builderavoiding the need to create one manually viaSpan.builder().When the
Consumercompletes,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:
span(Span)
-
-