Class CfnDatasetPropsMixin.DatetimeOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.databrew.CfnDatasetPropsMixin.DatetimeOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetPropsMixin.DatetimeOptionsProperty>
- Enclosing interface:
CfnDatasetPropsMixin.DatetimeOptionsProperty
@Stability(Stable)
public static final class CfnDatasetPropsMixin.DatetimeOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetPropsMixin.DatetimeOptionsProperty>
A builder for
CfnDatasetPropsMixin.DatetimeOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDatasetPropsMixin.DatetimeOptionsProperty.getFormat()localeCode(String localeCode) Sets the value ofCfnDatasetPropsMixin.DatetimeOptionsProperty.getLocaleCode()timezoneOffset(String timezoneOffset) Sets the value ofCfnDatasetPropsMixin.DatetimeOptionsProperty.getTimezoneOffset()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
format
@Stability(Stable) public CfnDatasetPropsMixin.DatetimeOptionsProperty.Builder format(String format) Sets the value ofCfnDatasetPropsMixin.DatetimeOptionsProperty.getFormat()- Parameters:
format- Required option, that defines the datetime format used for a date parameter in the Amazon S3 path. Should use only supported datetime specifiers and separation characters, all litera a-z or A-Z character should be escaped with single quotes. E.g. "MM.dd.yyyy-'at'-HH:mm".- Returns:
this
-
localeCode
@Stability(Stable) public CfnDatasetPropsMixin.DatetimeOptionsProperty.Builder localeCode(String localeCode) Sets the value ofCfnDatasetPropsMixin.DatetimeOptionsProperty.getLocaleCode()- Parameters:
localeCode- Optional value for a non-US locale code, needed for correct interpretation of some date formats.- Returns:
this
-
timezoneOffset
@Stability(Stable) public CfnDatasetPropsMixin.DatetimeOptionsProperty.Builder timezoneOffset(String timezoneOffset) Sets the value ofCfnDatasetPropsMixin.DatetimeOptionsProperty.getTimezoneOffset()- Parameters:
timezoneOffset- Optional value for a timezone offset of the datetime parameter value in the Amazon S3 path. Shouldn't be used if Format for this parameter includes timezone fields. If no offset specified, UTC is assumed.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatasetPropsMixin.DatetimeOptionsProperty>- Returns:
- a new instance of
CfnDatasetPropsMixin.DatetimeOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-