Interface DateTimeFormatConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DateTimeFormatConfiguration.Builder,
,DateTimeFormatConfiguration> SdkBuilder<DateTimeFormatConfiguration.Builder,
,DateTimeFormatConfiguration> SdkPojo
- Enclosing class:
DateTimeFormatConfiguration
public static interface DateTimeFormatConfiguration.Builder
extends SdkPojo, CopyableBuilder<DateTimeFormatConfiguration.Builder,DateTimeFormatConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondateTimeFormat
(String dateTimeFormat) Determines theDateTime
format.nullValueFormatConfiguration
(Consumer<NullValueFormatConfiguration.Builder> nullValueFormatConfiguration) The options that determine the null value format configuration.nullValueFormatConfiguration
(NullValueFormatConfiguration nullValueFormatConfiguration) The options that determine the null value format configuration.numericFormatConfiguration
(Consumer<NumericFormatConfiguration.Builder> numericFormatConfiguration) The formatting configuration for numericDateTime
fields.numericFormatConfiguration
(NumericFormatConfiguration numericFormatConfiguration) The formatting configuration for numericDateTime
fields.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
-
dateTimeFormat
Determines the
DateTime
format.- Parameters:
dateTimeFormat
- Determines theDateTime
format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nullValueFormatConfiguration
DateTimeFormatConfiguration.Builder nullValueFormatConfiguration(NullValueFormatConfiguration nullValueFormatConfiguration) The options that determine the null value format configuration.
- Parameters:
nullValueFormatConfiguration
- The options that determine the null value format configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nullValueFormatConfiguration
default DateTimeFormatConfiguration.Builder nullValueFormatConfiguration(Consumer<NullValueFormatConfiguration.Builder> nullValueFormatConfiguration) The options that determine the null value format configuration.
This is a convenience method that creates an instance of theNullValueFormatConfiguration.Builder
avoiding the need to create one manually viaNullValueFormatConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonullValueFormatConfiguration(NullValueFormatConfiguration)
.- Parameters:
nullValueFormatConfiguration
- a consumer that will call methods onNullValueFormatConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
numericFormatConfiguration
DateTimeFormatConfiguration.Builder numericFormatConfiguration(NumericFormatConfiguration numericFormatConfiguration) The formatting configuration for numeric
DateTime
fields.- Parameters:
numericFormatConfiguration
- The formatting configuration for numericDateTime
fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numericFormatConfiguration
default DateTimeFormatConfiguration.Builder numericFormatConfiguration(Consumer<NumericFormatConfiguration.Builder> numericFormatConfiguration) The formatting configuration for numeric
This is a convenience method that creates an instance of theDateTime
fields.NumericFormatConfiguration.Builder
avoiding the need to create one manually viaNumericFormatConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonumericFormatConfiguration(NumericFormatConfiguration)
.- Parameters:
numericFormatConfiguration
- a consumer that will call methods onNumericFormatConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-