Struct aws_sdk_opensearch::operation::update_data_source::builders::UpdateDataSourceFluentBuilder
source · pub struct UpdateDataSourceFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateDataSource
.
Updates a direct-query data source. For more information, see Working with Amazon OpenSearch Service data source integrations with Amazon S3.
Implementations§
source§impl UpdateDataSourceFluentBuilder
impl UpdateDataSourceFluentBuilder
sourcepub fn as_input(&self) -> &UpdateDataSourceInputBuilder
pub fn as_input(&self) -> &UpdateDataSourceInputBuilder
Access the UpdateDataSource as a reference.
sourcepub async fn send(
self
) -> Result<UpdateDataSourceOutput, SdkError<UpdateDataSourceError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateDataSourceOutput, SdkError<UpdateDataSourceError, 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<UpdateDataSourceOutput, UpdateDataSourceError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateDataSourceOutput, UpdateDataSourceError, 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.
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.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The name of the domain.
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 new description of the data source.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A new description of the data source.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A new description of the data source.
Trait Implementations§
source§impl Clone for UpdateDataSourceFluentBuilder
impl Clone for UpdateDataSourceFluentBuilder
source§fn clone(&self) -> UpdateDataSourceFluentBuilder
fn clone(&self) -> UpdateDataSourceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more