Interface DateDimensionField.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DateDimensionField.Builder,
,DateDimensionField> SdkBuilder<DateDimensionField.Builder,
,DateDimensionField> SdkPojo
- Enclosing class:
DateDimensionField
-
Method Summary
Modifier and TypeMethodDescriptiondefault DateDimensionField.Builder
column
(Consumer<ColumnIdentifier.Builder> column) The column that is used in theDateDimensionField
.column
(ColumnIdentifier column) The column that is used in theDateDimensionField
.dateGranularity
(String dateGranularity) The date granularity of theDateDimensionField
.dateGranularity
(TimeGranularity dateGranularity) The date granularity of theDateDimensionField
.The custom field ID.default DateDimensionField.Builder
formatConfiguration
(Consumer<DateTimeFormatConfiguration.Builder> formatConfiguration) The format configuration of the field.formatConfiguration
(DateTimeFormatConfiguration formatConfiguration) The format configuration of the field.hierarchyId
(String hierarchyId) The custom hierarchy ID.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
-
fieldId
The custom field ID.
- Parameters:
fieldId
- The custom field ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
column
The column that is used in the
DateDimensionField
.- Parameters:
column
- The column that is used in theDateDimensionField
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
column
The column that is used in the
This is a convenience method that creates an instance of theDateDimensionField
.ColumnIdentifier.Builder
avoiding the need to create one manually viaColumnIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocolumn(ColumnIdentifier)
.- Parameters:
column
- a consumer that will call methods onColumnIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dateGranularity
The date granularity of the
DateDimensionField
. Choose one of the following options:-
YEAR
-
QUARTER
-
MONTH
-
WEEK
-
DAY
-
HOUR
-
MINUTE
-
SECOND
-
MILLISECOND
- Parameters:
dateGranularity
- The date granularity of theDateDimensionField
. Choose one of the following options:-
YEAR
-
QUARTER
-
MONTH
-
WEEK
-
DAY
-
HOUR
-
MINUTE
-
SECOND
-
MILLISECOND
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
dateGranularity
The date granularity of the
DateDimensionField
. Choose one of the following options:-
YEAR
-
QUARTER
-
MONTH
-
WEEK
-
DAY
-
HOUR
-
MINUTE
-
SECOND
-
MILLISECOND
- Parameters:
dateGranularity
- The date granularity of theDateDimensionField
. Choose one of the following options:-
YEAR
-
QUARTER
-
MONTH
-
WEEK
-
DAY
-
HOUR
-
MINUTE
-
SECOND
-
MILLISECOND
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
hierarchyId
The custom hierarchy ID.
- Parameters:
hierarchyId
- The custom hierarchy ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formatConfiguration
The format configuration of the field.
- Parameters:
formatConfiguration
- The format configuration of the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formatConfiguration
default DateDimensionField.Builder formatConfiguration(Consumer<DateTimeFormatConfiguration.Builder> formatConfiguration) The format configuration of the field.
This is a convenience method that creates an instance of theDateTimeFormatConfiguration.Builder
avoiding the need to create one manually viaDateTimeFormatConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toformatConfiguration(DateTimeFormatConfiguration)
.- Parameters:
formatConfiguration
- a consumer that will call methods onDateTimeFormatConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-