Interface RouteSignpost.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteSignpost.Builder,,RouteSignpost> SdkBuilder<RouteSignpost.Builder,,RouteSignpost> SdkPojo
- Enclosing class:
RouteSignpost
@Mutable
@NotThreadSafe
public static interface RouteSignpost.Builder
extends SdkPojo, CopyableBuilder<RouteSignpost.Builder,RouteSignpost>
-
Method Summary
Modifier and TypeMethodDescriptionlabels(Collection<RouteSignpostLabel> labels) Labels present on the sign post.labels(Consumer<RouteSignpostLabel.Builder>... labels) Labels present on the sign post.labels(RouteSignpostLabel... labels) Labels present on the sign post.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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 tolabels(List<RouteSignpostLabel>).- 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:
-