Interface ReferenceLine.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReferenceLine.Builder,ReferenceLine>,SdkBuilder<ReferenceLine.Builder,ReferenceLine>,SdkPojo
- Enclosing class:
- ReferenceLine
public static interface ReferenceLine.Builder extends SdkPojo, CopyableBuilder<ReferenceLine.Builder,ReferenceLine>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ReferenceLine.BuilderdataConfiguration(Consumer<ReferenceLineDataConfiguration.Builder> dataConfiguration)The data configuration of the reference line.ReferenceLine.BuilderdataConfiguration(ReferenceLineDataConfiguration dataConfiguration)The data configuration of the reference line.default ReferenceLine.BuilderlabelConfiguration(Consumer<ReferenceLineLabelConfiguration.Builder> labelConfiguration)The label configuration of the reference line.ReferenceLine.BuilderlabelConfiguration(ReferenceLineLabelConfiguration labelConfiguration)The label configuration of the reference line.ReferenceLine.Builderstatus(String status)The status of the reference line.ReferenceLine.Builderstatus(WidgetStatus status)The status of the reference line.default ReferenceLine.BuilderstyleConfiguration(Consumer<ReferenceLineStyleConfiguration.Builder> styleConfiguration)The style configuration of the reference line.ReferenceLine.BuilderstyleConfiguration(ReferenceLineStyleConfiguration styleConfiguration)The style configuration of the reference line.-
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
-
status
ReferenceLine.Builder status(String status)
The status of the reference line. Choose one of the following options:
-
ENABLE -
DISABLE
- Parameters:
status- The status of the reference line. Choose one of the following options:-
ENABLE -
DISABLE
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WidgetStatus,WidgetStatus
-
-
status
ReferenceLine.Builder status(WidgetStatus status)
The status of the reference line. Choose one of the following options:
-
ENABLE -
DISABLE
- Parameters:
status- The status of the reference line. Choose one of the following options:-
ENABLE -
DISABLE
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WidgetStatus,WidgetStatus
-
-
dataConfiguration
ReferenceLine.Builder dataConfiguration(ReferenceLineDataConfiguration dataConfiguration)
The data configuration of the reference line.
- Parameters:
dataConfiguration- The data configuration of the reference line.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataConfiguration
default ReferenceLine.Builder dataConfiguration(Consumer<ReferenceLineDataConfiguration.Builder> dataConfiguration)
The data configuration of the reference line.
This is a convenience method that creates an instance of theReferenceLineDataConfiguration.Builderavoiding the need to create one manually viaReferenceLineDataConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataConfiguration(ReferenceLineDataConfiguration).- Parameters:
dataConfiguration- a consumer that will call methods onReferenceLineDataConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dataConfiguration(ReferenceLineDataConfiguration)
-
styleConfiguration
ReferenceLine.Builder styleConfiguration(ReferenceLineStyleConfiguration styleConfiguration)
The style configuration of the reference line.
- Parameters:
styleConfiguration- The style configuration of the reference line.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
styleConfiguration
default ReferenceLine.Builder styleConfiguration(Consumer<ReferenceLineStyleConfiguration.Builder> styleConfiguration)
The style configuration of the reference line.
This is a convenience method that creates an instance of theReferenceLineStyleConfiguration.Builderavoiding the need to create one manually viaReferenceLineStyleConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostyleConfiguration(ReferenceLineStyleConfiguration).- Parameters:
styleConfiguration- a consumer that will call methods onReferenceLineStyleConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
styleConfiguration(ReferenceLineStyleConfiguration)
-
labelConfiguration
ReferenceLine.Builder labelConfiguration(ReferenceLineLabelConfiguration labelConfiguration)
The label configuration of the reference line.
- Parameters:
labelConfiguration- The label configuration of the reference line.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelConfiguration
default ReferenceLine.Builder labelConfiguration(Consumer<ReferenceLineLabelConfiguration.Builder> labelConfiguration)
The label configuration of the reference line.
This is a convenience method that creates an instance of theReferenceLineLabelConfiguration.Builderavoiding the need to create one manually viaReferenceLineLabelConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolabelConfiguration(ReferenceLineLabelConfiguration).- Parameters:
labelConfiguration- a consumer that will call methods onReferenceLineLabelConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
labelConfiguration(ReferenceLineLabelConfiguration)
-
-