public static interface Location.Builder extends SdkPojo, CopyableBuilder<Location.Builder,Location>
| Modifier and Type | Method and Description |
|---|---|
Location.Builder |
path(Collection<PathElement> path)
A path in a policy, represented as a sequence of path elements.
|
Location.Builder |
path(Consumer<PathElement.Builder>... path)
A path in a policy, represented as a sequence of path elements.
|
Location.Builder |
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.
|
Location.Builder |
span(Span span)
A span in a policy.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLocation.Builder path(Collection<PathElement> path)
A path in a policy, represented as a sequence of path elements.
path - A path in a policy, represented as a sequence of path elements.Location.Builder path(PathElement... path)
A path in a policy, represented as a sequence of path elements.
path - A path in a policy, represented as a sequence of path elements.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.Builder avoiding the need to create
one manually via PathElement.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #path(List.
path - a consumer that will call methods on
PathElement.Builder#path(java.util.Collection) Location.Builder span(Span span)
A span in a policy.
span - A span in a policy.default Location.Builder span(Consumer<Span.Builder> 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 via Span.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to span(Span).
span - a consumer that will call methods on Span.Builderspan(Span)Copyright © 2023. All rights reserved.