#[non_exhaustive]pub struct DataSourceSummaryBuilder { /* private fields */ }
Expand description
A builder for DataSourceSummary
.
Implementations§
source§impl DataSourceSummaryBuilder
impl DataSourceSummaryBuilder
sourcepub fn data_source_id(self, input: impl Into<String>) -> Self
pub fn data_source_id(self, input: impl Into<String>) -> Self
The unique ID of the data source.
sourcepub fn set_data_source_id(self, input: Option<String>) -> Self
pub fn set_data_source_id(self, input: Option<String>) -> Self
The unique ID of the data source.
sourcepub fn type(self, input: DataSourceType) -> Self
pub fn type(self, input: DataSourceType) -> Self
The type of the data source.
sourcepub fn set_type(self, input: Option<DataSourceType>) -> Self
pub fn set_type(self, input: Option<DataSourceType>) -> Self
The type of the data source.
sourcepub fn created_time(self, input: DateTime) -> Self
pub fn created_time(self, input: DateTime) -> Self
The date and time that the data source was created. This value is expressed in MM-DD-YYYY HH:MM:SS format.
sourcepub fn set_created_time(self, input: Option<DateTime>) -> Self
pub fn set_created_time(self, input: Option<DateTime>) -> Self
The date and time that the data source was created. This value is expressed in MM-DD-YYYY HH:MM:SS format.
sourcepub fn last_updated_time(self, input: DateTime) -> Self
pub fn last_updated_time(self, input: DateTime) -> Self
The date and time the data source was last updated. This value is expressed in MM-DD-YYYY HH:MM:SS format.
sourcepub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
The date and time the data source was last updated. This value is expressed in MM-DD-YYYY HH:MM:SS format.
sourcepub fn build(self) -> DataSourceSummary
pub fn build(self) -> DataSourceSummary
Consumes the builder and constructs a DataSourceSummary
.
Trait Implementations§
source§impl Clone for DataSourceSummaryBuilder
impl Clone for DataSourceSummaryBuilder
source§fn clone(&self) -> DataSourceSummaryBuilder
fn clone(&self) -> DataSourceSummaryBuilder
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 DataSourceSummaryBuilder
impl Debug for DataSourceSummaryBuilder
source§impl Default for DataSourceSummaryBuilder
impl Default for DataSourceSummaryBuilder
source§fn default() -> DataSourceSummaryBuilder
fn default() -> DataSourceSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DataSourceSummaryBuilder> for DataSourceSummaryBuilder
impl PartialEq<DataSourceSummaryBuilder> for DataSourceSummaryBuilder
source§fn eq(&self, other: &DataSourceSummaryBuilder) -> bool
fn eq(&self, other: &DataSourceSummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.