Struct aws_sdk_qbusiness::operation::stop_data_source_sync_job::builders::StopDataSourceSyncJobInputBuilder
source · #[non_exhaustive]pub struct StopDataSourceSyncJobInputBuilder { /* private fields */ }Expand description
A builder for StopDataSourceSyncJobInput.
Implementations§
source§impl StopDataSourceSyncJobInputBuilder
impl StopDataSourceSyncJobInputBuilder
sourcepub fn data_source_id(self, input: impl Into<String>) -> Self
pub fn data_source_id(self, input: impl Into<String>) -> Self
The identifier of the data source connector.
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
The identifier of the data source connector.
sourcepub fn get_data_source_id(&self) -> &Option<String>
pub fn get_data_source_id(&self) -> &Option<String>
The identifier of the data source connector.
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Q application that the data source is connected to.
This field is required.sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The identifier of the Amazon Q application that the data source is connected to.
sourcepub fn get_application_id(&self) -> &Option<String>
pub fn get_application_id(&self) -> &Option<String>
The identifier of the Amazon Q application that the data source is connected to.
sourcepub fn index_id(self, input: impl Into<String>) -> Self
pub fn index_id(self, input: impl Into<String>) -> Self
The identifier of the index used with the Amazon Q data source connector.
This field is required.sourcepub fn set_index_id(self, input: Option<String>) -> Self
pub fn set_index_id(self, input: Option<String>) -> Self
The identifier of the index used with the Amazon Q data source connector.
sourcepub fn get_index_id(&self) -> &Option<String>
pub fn get_index_id(&self) -> &Option<String>
The identifier of the index used with the Amazon Q data source connector.
sourcepub fn build(self) -> Result<StopDataSourceSyncJobInput, BuildError>
pub fn build(self) -> Result<StopDataSourceSyncJobInput, BuildError>
Consumes the builder and constructs a StopDataSourceSyncJobInput.
source§impl StopDataSourceSyncJobInputBuilder
impl StopDataSourceSyncJobInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StopDataSourceSyncJobOutput, SdkError<StopDataSourceSyncJobError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StopDataSourceSyncJobOutput, SdkError<StopDataSourceSyncJobError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StopDataSourceSyncJobInputBuilder
impl Clone for StopDataSourceSyncJobInputBuilder
source§fn clone(&self) -> StopDataSourceSyncJobInputBuilder
fn clone(&self) -> StopDataSourceSyncJobInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StopDataSourceSyncJobInputBuilder
impl Default for StopDataSourceSyncJobInputBuilder
source§fn default() -> StopDataSourceSyncJobInputBuilder
fn default() -> StopDataSourceSyncJobInputBuilder
source§impl PartialEq for StopDataSourceSyncJobInputBuilder
impl PartialEq for StopDataSourceSyncJobInputBuilder
source§fn eq(&self, other: &StopDataSourceSyncJobInputBuilder) -> bool
fn eq(&self, other: &StopDataSourceSyncJobInputBuilder) -> bool
self and other values to be equal, and is used
by ==.