Interface RelativeDateTimeControlDisplayOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RelativeDateTimeControlDisplayOptions.Builder,RelativeDateTimeControlDisplayOptions>,SdkBuilder<RelativeDateTimeControlDisplayOptions.Builder,RelativeDateTimeControlDisplayOptions>,SdkPojo
- Enclosing class:
- RelativeDateTimeControlDisplayOptions
public static interface RelativeDateTimeControlDisplayOptions.Builder extends SdkPojo, CopyableBuilder<RelativeDateTimeControlDisplayOptions.Builder,RelativeDateTimeControlDisplayOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RelativeDateTimeControlDisplayOptions.BuilderdateTimeFormat(String dateTimeFormat)Customize how dates are formatted in controls.default RelativeDateTimeControlDisplayOptions.BuilderinfoIconLabelOptions(Consumer<SheetControlInfoIconLabelOptions.Builder> infoIconLabelOptions)The configuration of info icon label options.RelativeDateTimeControlDisplayOptions.BuilderinfoIconLabelOptions(SheetControlInfoIconLabelOptions infoIconLabelOptions)The configuration of info icon label options.default RelativeDateTimeControlDisplayOptions.BuildertitleOptions(Consumer<LabelOptions.Builder> titleOptions)The options to configure the title visibility, name, and font size.RelativeDateTimeControlDisplayOptions.BuildertitleOptions(LabelOptions titleOptions)The options to configure the title visibility, name, and font size.-
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
-
titleOptions
RelativeDateTimeControlDisplayOptions.Builder titleOptions(LabelOptions titleOptions)
The options to configure the title visibility, name, and font size.
- Parameters:
titleOptions- The options to configure the title visibility, name, and font size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
titleOptions
default RelativeDateTimeControlDisplayOptions.Builder titleOptions(Consumer<LabelOptions.Builder> titleOptions)
The options to configure the title visibility, name, and font size.
This is a convenience method that creates an instance of theLabelOptions.Builderavoiding the need to create one manually viaLabelOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totitleOptions(LabelOptions).- Parameters:
titleOptions- a consumer that will call methods onLabelOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
titleOptions(LabelOptions)
-
dateTimeFormat
RelativeDateTimeControlDisplayOptions.Builder dateTimeFormat(String dateTimeFormat)
Customize how dates are formatted in controls.
- Parameters:
dateTimeFormat- Customize how dates are formatted in controls.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
infoIconLabelOptions
RelativeDateTimeControlDisplayOptions.Builder infoIconLabelOptions(SheetControlInfoIconLabelOptions infoIconLabelOptions)
The configuration of info icon label options.
- Parameters:
infoIconLabelOptions- The configuration of info icon label options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
infoIconLabelOptions
default RelativeDateTimeControlDisplayOptions.Builder infoIconLabelOptions(Consumer<SheetControlInfoIconLabelOptions.Builder> infoIconLabelOptions)
The configuration of info icon label options.
This is a convenience method that creates an instance of theSheetControlInfoIconLabelOptions.Builderavoiding the need to create one manually viaSheetControlInfoIconLabelOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinfoIconLabelOptions(SheetControlInfoIconLabelOptions).- Parameters:
infoIconLabelOptions- a consumer that will call methods onSheetControlInfoIconLabelOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
infoIconLabelOptions(SheetControlInfoIconLabelOptions)
-
-