Interface AxisLabelOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AxisLabelOptions.Builder,
,AxisLabelOptions> SdkBuilder<AxisLabelOptions.Builder,
,AxisLabelOptions> SdkPojo
- Enclosing class:
AxisLabelOptions
public static interface AxisLabelOptions.Builder
extends SdkPojo, CopyableBuilder<AxisLabelOptions.Builder,AxisLabelOptions>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AxisLabelOptions.Builder
applyTo
(Consumer<AxisLabelReferenceOptions.Builder> applyTo) The options that indicate which field the label belongs to.applyTo
(AxisLabelReferenceOptions applyTo) The options that indicate which field the label belongs to.customLabel
(String customLabel) The text for the axis label.default AxisLabelOptions.Builder
fontConfiguration
(Consumer<FontConfiguration.Builder> fontConfiguration) The font configuration of the axis label.fontConfiguration
(FontConfiguration fontConfiguration) The font configuration of the axis label.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
-
fontConfiguration
The font configuration of the axis label.
- Parameters:
fontConfiguration
- The font configuration of the axis label.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fontConfiguration
default AxisLabelOptions.Builder fontConfiguration(Consumer<FontConfiguration.Builder> fontConfiguration) The font configuration of the axis label.
This is a convenience method that creates an instance of theFontConfiguration.Builder
avoiding the need to create one manually viaFontConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofontConfiguration(FontConfiguration)
.- Parameters:
fontConfiguration
- a consumer that will call methods onFontConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customLabel
The text for the axis label.
- Parameters:
customLabel
- The text for the axis label.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applyTo
The options that indicate which field the label belongs to.
- Parameters:
applyTo
- The options that indicate which field the label belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applyTo
The options that indicate which field the label belongs to.
This is a convenience method that creates an instance of theAxisLabelReferenceOptions.Builder
avoiding the need to create one manually viaAxisLabelReferenceOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapplyTo(AxisLabelReferenceOptions)
.- Parameters:
applyTo
- a consumer that will call methods onAxisLabelReferenceOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-