Struct aws_sdk_iot::types::builders::TimestreamTimestampBuilder
source · #[non_exhaustive]pub struct TimestreamTimestampBuilder { /* private fields */ }
Expand description
A builder for TimestreamTimestamp
.
Implementations§
source§impl TimestreamTimestampBuilder
impl TimestreamTimestampBuilder
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
An expression that returns a long epoch time value.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
An expression that returns a long epoch time value.
sourcepub fn unit(self, input: impl Into<String>) -> Self
pub fn unit(self, input: impl Into<String>) -> Self
The precision of the timestamp value that results from the expression described in value
.
Valid values: SECONDS
| MILLISECONDS
| MICROSECONDS
| NANOSECONDS
. The default is MILLISECONDS
.
sourcepub fn set_unit(self, input: Option<String>) -> Self
pub fn set_unit(self, input: Option<String>) -> Self
The precision of the timestamp value that results from the expression described in value
.
Valid values: SECONDS
| MILLISECONDS
| MICROSECONDS
| NANOSECONDS
. The default is MILLISECONDS
.
sourcepub fn build(self) -> TimestreamTimestamp
pub fn build(self) -> TimestreamTimestamp
Consumes the builder and constructs a TimestreamTimestamp
.
Trait Implementations§
source§impl Clone for TimestreamTimestampBuilder
impl Clone for TimestreamTimestampBuilder
source§fn clone(&self) -> TimestreamTimestampBuilder
fn clone(&self) -> TimestreamTimestampBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TimestreamTimestampBuilder
impl Debug for TimestreamTimestampBuilder
source§impl Default for TimestreamTimestampBuilder
impl Default for TimestreamTimestampBuilder
source§fn default() -> TimestreamTimestampBuilder
fn default() -> TimestreamTimestampBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TimestreamTimestampBuilder> for TimestreamTimestampBuilder
impl PartialEq<TimestreamTimestampBuilder> for TimestreamTimestampBuilder
source§fn eq(&self, other: &TimestreamTimestampBuilder) -> bool
fn eq(&self, other: &TimestreamTimestampBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.