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 that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #path(List) .path - a consumer that will call methods on List.Builder #path(List) 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 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 © 2022. All rights reserved.