Struct aws_sdk_connect::operation::delete_vocabulary::builders::DeleteVocabularyInputBuilder
source · #[non_exhaustive]pub struct DeleteVocabularyInputBuilder { /* private fields */ }
Expand description
A builder for DeleteVocabularyInput
.
Implementations§
source§impl DeleteVocabularyInputBuilder
impl DeleteVocabularyInputBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn vocabulary_id(self, input: impl Into<String>) -> Self
pub fn vocabulary_id(self, input: impl Into<String>) -> Self
The identifier of the custom vocabulary.
sourcepub fn set_vocabulary_id(self, input: Option<String>) -> Self
pub fn set_vocabulary_id(self, input: Option<String>) -> Self
The identifier of the custom vocabulary.
sourcepub fn get_vocabulary_id(&self) -> &Option<String>
pub fn get_vocabulary_id(&self) -> &Option<String>
The identifier of the custom vocabulary.
sourcepub fn build(self) -> Result<DeleteVocabularyInput, BuildError>
pub fn build(self) -> Result<DeleteVocabularyInput, BuildError>
Consumes the builder and constructs a DeleteVocabularyInput
.
source§impl DeleteVocabularyInputBuilder
impl DeleteVocabularyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteVocabularyOutput, SdkError<DeleteVocabularyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteVocabularyOutput, SdkError<DeleteVocabularyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteVocabularyInputBuilder
impl Clone for DeleteVocabularyInputBuilder
source§fn clone(&self) -> DeleteVocabularyInputBuilder
fn clone(&self) -> DeleteVocabularyInputBuilder
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 DeleteVocabularyInputBuilder
impl Debug for DeleteVocabularyInputBuilder
source§impl Default for DeleteVocabularyInputBuilder
impl Default for DeleteVocabularyInputBuilder
source§fn default() -> DeleteVocabularyInputBuilder
fn default() -> DeleteVocabularyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DeleteVocabularyInputBuilder> for DeleteVocabularyInputBuilder
impl PartialEq<DeleteVocabularyInputBuilder> for DeleteVocabularyInputBuilder
source§fn eq(&self, other: &DeleteVocabularyInputBuilder) -> bool
fn eq(&self, other: &DeleteVocabularyInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteVocabularyInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeleteVocabularyInputBuilder
impl Send for DeleteVocabularyInputBuilder
impl Sync for DeleteVocabularyInputBuilder
impl Unpin for DeleteVocabularyInputBuilder
impl UnwindSafe for DeleteVocabularyInputBuilder
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