Struct aws_sdk_databrew::model::datetime_options::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DatetimeOptions
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn format(self, input: impl Into<String>) -> Self
pub fn format(self, input: impl Into<String>) -> Self
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 literal a-z or A-Z characters should be escaped with single quotes. E.g. "MM.dd.yyyy-'at'-HH:mm".
sourcepub fn set_format(self, input: Option<String>) -> Self
pub fn set_format(self, input: Option<String>) -> Self
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 literal a-z or A-Z characters should be escaped with single quotes. E.g. "MM.dd.yyyy-'at'-HH:mm".
sourcepub fn timezone_offset(self, input: impl Into<String>) -> Self
pub fn timezone_offset(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_timezone_offset(self, input: Option<String>) -> Self
pub fn set_timezone_offset(self, input: Option<String>) -> Self
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.
sourcepub fn locale_code(self, input: impl Into<String>) -> Self
pub fn locale_code(self, input: impl Into<String>) -> Self
Optional value for a non-US locale code, needed for correct interpretation of some date formats.
sourcepub fn set_locale_code(self, input: Option<String>) -> Self
pub fn set_locale_code(self, input: Option<String>) -> Self
Optional value for a non-US locale code, needed for correct interpretation of some date formats.
sourcepub fn build(self) -> DatetimeOptions
pub fn build(self) -> DatetimeOptions
Consumes the builder and constructs a DatetimeOptions
.