pub struct AddDataSourceFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AddDataSource
.
Creates a new direct-query data source to the specified domain. For more information, see Creating Amazon OpenSearch Service data source integrations with Amazon S3.
Implementations§
source§impl AddDataSourceFluentBuilder
impl AddDataSourceFluentBuilder
sourcepub fn as_input(&self) -> &AddDataSourceInputBuilder
pub fn as_input(&self) -> &AddDataSourceInputBuilder
Access the AddDataSource as a reference.
sourcepub async fn send(
self
) -> Result<AddDataSourceOutput, SdkError<AddDataSourceError, HttpResponse>>
pub async fn send( self ) -> Result<AddDataSourceOutput, SdkError<AddDataSourceError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<AddDataSourceOutput, AddDataSourceError, Self>
pub fn customize( self ) -> CustomizableOperation<AddDataSourceOutput, AddDataSourceError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The name of the domain to add the data source to.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The name of the domain to add the data source to.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The name of the domain to add the data source to.
sourcepub fn data_source_type(self, input: DataSourceType) -> Self
pub fn data_source_type(self, input: DataSourceType) -> Self
The type of data source.
sourcepub fn set_data_source_type(self, input: Option<DataSourceType>) -> Self
pub fn set_data_source_type(self, input: Option<DataSourceType>) -> Self
The type of data source.
sourcepub fn get_data_source_type(&self) -> &Option<DataSourceType>
pub fn get_data_source_type(&self) -> &Option<DataSourceType>
The type of data source.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the data source.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the data source.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the data source.
Trait Implementations§
source§impl Clone for AddDataSourceFluentBuilder
impl Clone for AddDataSourceFluentBuilder
source§fn clone(&self) -> AddDataSourceFluentBuilder
fn clone(&self) -> AddDataSourceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more