#[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 ==.impl StructuralPartialEq for DataSourceSummaryBuilder
Auto Trait Implementations§
impl Freeze for DataSourceSummaryBuilder
impl RefUnwindSafe for DataSourceSummaryBuilder
impl Send for DataSourceSummaryBuilder
impl Sync for DataSourceSummaryBuilder
impl Unpin for DataSourceSummaryBuilder
impl UnwindSafe for DataSourceSummaryBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more