#[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 get_data_source_id(&self) -> &Option<String>
pub fn get_data_source_id(&self) -> &Option<String>
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 get_type(&self) -> &Option<DataSourceType>
pub fn get_type(&self) -> &Option<DataSourceType>
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 get_created_time(&self) -> &Option<DateTime>
pub fn get_created_time(&self) -> &Option<DateTime>
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 get_last_updated_time(&self) -> &Option<DateTime>
pub fn get_last_updated_time(&self) -> &Option<DateTime>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for DataSourceSummaryBuilder
impl PartialEq for DataSourceSummaryBuilder
source§fn eq(&self, other: &DataSourceSummaryBuilder) -> bool
fn eq(&self, other: &DataSourceSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.