Interface RouteSignpost.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteSignpost.Builder,RouteSignpost>,SdkBuilder<RouteSignpost.Builder,RouteSignpost>,SdkPojo
- Enclosing class:
- RouteSignpost
public static interface RouteSignpost.Builder extends SdkPojo, CopyableBuilder<RouteSignpost.Builder,RouteSignpost>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RouteSignpost.Builderlabels(Collection<RouteSignpostLabel> labels)Labels present on the sign post.RouteSignpost.Builderlabels(Consumer<RouteSignpostLabel.Builder>... labels)Labels present on the sign post.RouteSignpost.Builderlabels(RouteSignpostLabel... labels)Labels present on the sign post.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
labels
RouteSignpost.Builder labels(Collection<RouteSignpostLabel> labels)
Labels present on the sign post.
- Parameters:
labels- Labels present on the sign post.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labels
RouteSignpost.Builder labels(RouteSignpostLabel... labels)
Labels present on the sign post.
- Parameters:
labels- Labels present on the sign post.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labels
RouteSignpost.Builder labels(Consumer<RouteSignpostLabel.Builder>... labels)
Labels present on the sign post.
This is a convenience method that creates an instance of theRouteSignpostLabel.Builderavoiding the need to create one manually viaRouteSignpostLabel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#labels(List.) - Parameters:
labels- a consumer that will call methods onRouteSignpostLabel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#labels(java.util.Collection)
-
-