Struct aws_sdk_opensearch::operation::update_data_source::builders::UpdateDataSourceInputBuilder
source · #[non_exhaustive]pub struct UpdateDataSourceInputBuilder { /* private fields */ }
Expand description
A builder for UpdateDataSourceInput
.
Implementations§
source§impl UpdateDataSourceInputBuilder
impl UpdateDataSourceInputBuilder
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.
This field is required.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 name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the data source to modify.
This field is required.sourcepub fn data_source_type(self, input: DataSourceType) -> Self
pub fn data_source_type(self, input: DataSourceType) -> Self
The type of data source.
This field is required.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.
sourcepub fn build(self) -> Result<UpdateDataSourceInput, BuildError>
pub fn build(self) -> Result<UpdateDataSourceInput, BuildError>
Consumes the builder and constructs a UpdateDataSourceInput
.
source§impl UpdateDataSourceInputBuilder
impl UpdateDataSourceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateDataSourceOutput, SdkError<UpdateDataSourceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateDataSourceOutput, SdkError<UpdateDataSourceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateDataSourceInputBuilder
impl Clone for UpdateDataSourceInputBuilder
source§fn clone(&self) -> UpdateDataSourceInputBuilder
fn clone(&self) -> UpdateDataSourceInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UpdateDataSourceInputBuilder
impl Debug for UpdateDataSourceInputBuilder
source§impl Default for UpdateDataSourceInputBuilder
impl Default for UpdateDataSourceInputBuilder
source§fn default() -> UpdateDataSourceInputBuilder
fn default() -> UpdateDataSourceInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateDataSourceInputBuilder
impl PartialEq for UpdateDataSourceInputBuilder
source§fn eq(&self, other: &UpdateDataSourceInputBuilder) -> bool
fn eq(&self, other: &UpdateDataSourceInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateDataSourceInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateDataSourceInputBuilder
impl Send for UpdateDataSourceInputBuilder
impl Sync for UpdateDataSourceInputBuilder
impl Unpin for UpdateDataSourceInputBuilder
impl UnwindSafe for UpdateDataSourceInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.