pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateDataSourceInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn data_source_id(self, input: impl Into<String>) -> Self
pub fn data_source_id(self, input: impl Into<String>) -> Self
The ID assigned to the DataSource
during creation.
sourcepub fn set_data_source_id(self, input: Option<String>) -> Self
pub fn set_data_source_id(self, input: Option<String>) -> Self
The ID assigned to the DataSource
during creation.
sourcepub fn data_source_name(self, input: impl Into<String>) -> Self
pub fn data_source_name(self, input: impl Into<String>) -> Self
A new user-supplied name or description of the DataSource
that will replace the current description.
sourcepub fn set_data_source_name(self, input: Option<String>) -> Self
pub fn set_data_source_name(self, input: Option<String>) -> Self
A new user-supplied name or description of the DataSource
that will replace the current description.
sourcepub fn build(self) -> Result<UpdateDataSourceInput, BuildError>
pub fn build(self) -> Result<UpdateDataSourceInput, BuildError>
Consumes the builder and constructs a UpdateDataSourceInput
.