Interface DateTimeConverter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DateTimeConverter.Builder,
,DateTimeConverter> SdkBuilder<DateTimeConverter.Builder,
,DateTimeConverter> SdkPojo
- Enclosing class:
DateTimeConverter
@Mutable
@NotThreadSafe
public static interface DateTimeConverter.Builder
extends SdkPojo, CopyableBuilder<DateTimeConverter.Builder,DateTimeConverter>
-
Method Summary
Modifier and TypeMethodDescriptionThe locale of the source field.matchPatterns
(String... matchPatterns) A list of patterns to match against thesource
field.matchPatterns
(Collection<String> matchPatterns) A list of patterns to match against thesource
field.The key to apply the date conversion to.sourceTimezone
(String sourceTimezone) The time zone of the source field.The JSON field to store the result in.targetFormat
(String targetFormat) The datetime format to use for the converted data in the target field.targetTimezone
(String targetTimezone) The time zone of the target field.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, sdkFieldNameToField, sdkFields
-
Method Details
-
source
The key to apply the date conversion to.
- Parameters:
source
- The key to apply the date conversion to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
The JSON field to store the result in.
- Parameters:
target
- The JSON field to store the result in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetFormat
The datetime format to use for the converted data in the target field.
If you omit this, the default of
yyyy-MM-dd'T'HH:mm:ss.SSS'Z
is used.- Parameters:
targetFormat
- The datetime format to use for the converted data in the target field.If you omit this, the default of
yyyy-MM-dd'T'HH:mm:ss.SSS'Z
is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchPatterns
A list of patterns to match against the
source
field.- Parameters:
matchPatterns
- A list of patterns to match against thesource
field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchPatterns
A list of patterns to match against the
source
field.- Parameters:
matchPatterns
- A list of patterns to match against thesource
field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceTimezone
The time zone of the source field. If you omit this, the default used is the UTC zone.
- Parameters:
sourceTimezone
- The time zone of the source field. If you omit this, the default used is the UTC zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetTimezone
The time zone of the target field. If you omit this, the default used is the UTC zone.
- Parameters:
targetTimezone
- The time zone of the target field. If you omit this, the default used is the UTC zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locale
The locale of the source field. If you omit this, the default of
locale.ROOT
is used.- Parameters:
locale
- The locale of the source field. If you omit this, the default oflocale.ROOT
is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-