pub struct Builder { /* private fields */ }Expand description
A builder for GetDataSourceInput.
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 at 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 at creation.
sourcepub fn verbose(self, input: bool) -> Self
pub fn verbose(self, input: bool) -> Self
Specifies whether the GetDataSource operation should return DataSourceSchema.
If true, DataSourceSchema is returned.
If false, DataSourceSchema is not returned.
sourcepub fn set_verbose(self, input: Option<bool>) -> Self
pub fn set_verbose(self, input: Option<bool>) -> Self
Specifies whether the GetDataSource operation should return DataSourceSchema.
If true, DataSourceSchema is returned.
If false, DataSourceSchema is not returned.
sourcepub fn build(self) -> Result<GetDataSourceInput, BuildError>
pub fn build(self) -> Result<GetDataSourceInput, BuildError>
Consumes the builder and constructs a GetDataSourceInput.