Interface GradientColor.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GradientColor.Builder,GradientColor>,SdkBuilder<GradientColor.Builder,GradientColor>,SdkPojo
- Enclosing class:
- GradientColor
public static interface GradientColor.Builder extends SdkPojo, CopyableBuilder<GradientColor.Builder,GradientColor>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GradientColor.Builderstops(Collection<GradientStop> stops)The list of gradient color stops.GradientColor.Builderstops(Consumer<GradientStop.Builder>... stops)The list of gradient color stops.GradientColor.Builderstops(GradientStop... stops)The list of gradient color stops.-
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
-
stops
GradientColor.Builder stops(Collection<GradientStop> stops)
The list of gradient color stops.
- Parameters:
stops- The list of gradient color stops.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stops
GradientColor.Builder stops(GradientStop... stops)
The list of gradient color stops.
- Parameters:
stops- The list of gradient color stops.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stops
GradientColor.Builder stops(Consumer<GradientStop.Builder>... stops)
The list of gradient color stops.
This is a convenience method that creates an instance of theGradientStop.Builderavoiding the need to create one manually viaGradientStop.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#stops(List.) - Parameters:
stops- a consumer that will call methods onGradientStop.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#stops(java.util.Collection)
-
-