#[non_exhaustive]pub struct DataSourceSummaryBuilder { /* private fields */ }Expand description
A builder for DataSourceSummary.
Implementations§
source§impl DataSourceSummaryBuilder
impl DataSourceSummaryBuilder
sourcepub fn knowledge_base_id(self, input: impl Into<String>) -> Self
pub fn knowledge_base_id(self, input: impl Into<String>) -> Self
Identifier for a resource. This field is required.
sourcepub fn set_knowledge_base_id(self, input: Option<String>) -> Self
pub fn set_knowledge_base_id(self, input: Option<String>) -> Self
Identifier for a resource.
sourcepub fn get_knowledge_base_id(&self) -> &Option<String>
pub fn get_knowledge_base_id(&self) -> &Option<String>
Identifier for a resource.
sourcepub fn data_source_id(self, input: impl Into<String>) -> Self
pub fn data_source_id(self, input: impl Into<String>) -> Self
Identifier for a resource. This field is required.
sourcepub fn set_data_source_id(self, input: Option<String>) -> Self
pub fn set_data_source_id(self, input: Option<String>) -> Self
Identifier for a resource.
sourcepub fn get_data_source_id(&self) -> &Option<String>
pub fn get_data_source_id(&self) -> &Option<String>
Identifier for a resource.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Name for a resource. This field is required.
sourcepub fn status(self, input: DataSourceStatus) -> Self
pub fn status(self, input: DataSourceStatus) -> Self
The status of a data source. This field is required.
sourcepub fn set_status(self, input: Option<DataSourceStatus>) -> Self
pub fn set_status(self, input: Option<DataSourceStatus>) -> Self
The status of a data source.
sourcepub fn get_status(&self) -> &Option<DataSourceStatus>
pub fn get_status(&self) -> &Option<DataSourceStatus>
The status of a data source.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Description of the Resource.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Description of the Resource.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Description of the Resource.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
Time Stamp. This field is required.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
Time Stamp.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
Time Stamp.
sourcepub fn build(self) -> Result<DataSourceSummary, BuildError>
pub fn build(self) -> Result<DataSourceSummary, BuildError>
Consumes the builder and constructs a DataSourceSummary.
This method will fail if any of the following fields are not set:
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 for DataSourceSummaryBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for DataSourceSummaryBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.