Interface ReferenceLine.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReferenceLine.Builder,
,ReferenceLine> SdkBuilder<ReferenceLine.Builder,
,ReferenceLine> SdkPojo
- Enclosing class:
ReferenceLine
-
Method Summary
Modifier and TypeMethodDescriptiondefault ReferenceLine.Builder
dataConfiguration
(Consumer<ReferenceLineDataConfiguration.Builder> dataConfiguration) The data configuration of the reference line.dataConfiguration
(ReferenceLineDataConfiguration dataConfiguration) The data configuration of the reference line.default ReferenceLine.Builder
labelConfiguration
(Consumer<ReferenceLineLabelConfiguration.Builder> labelConfiguration) The label configuration of the reference line.labelConfiguration
(ReferenceLineLabelConfiguration labelConfiguration) The label configuration of the reference line.The status of the reference line.status
(WidgetStatus status) The status of the reference line.default ReferenceLine.Builder
styleConfiguration
(Consumer<ReferenceLineStyleConfiguration.Builder> styleConfiguration) The style configuration of the reference line.styleConfiguration
(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 Details
-
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:
-
-
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:
-
-
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.Builder
avoiding the need to create one manually viaReferenceLineDataConfiguration.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaReferenceLineStyleConfiguration.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaReferenceLineLabelConfiguration.builder()
.When the
Consumer
completes,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:
-