#[non_exhaustive]pub struct CreateAssistantInputBuilder { /* private fields */ }
Expand description
A builder for CreateAssistantInput
.
Implementations§
source§impl CreateAssistantInputBuilder
impl CreateAssistantInputBuilder
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn type(self, input: AssistantType) -> Self
pub fn type(self, input: AssistantType) -> Self
The type of assistant.
sourcepub fn set_type(self, input: Option<AssistantType>) -> Self
pub fn set_type(self, input: Option<AssistantType>) -> Self
The type of assistant.
sourcepub fn get_type(&self) -> &Option<AssistantType>
pub fn get_type(&self) -> &Option<AssistantType>
The type of assistant.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the assistant.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the assistant.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the assistant.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for this resource.
The tags used to organize, track, or control access for this resource.
The tags used to organize, track, or control access for this resource.
sourcepub fn server_side_encryption_configuration(
self,
input: ServerSideEncryptionConfiguration
) -> Self
pub fn server_side_encryption_configuration( self, input: ServerSideEncryptionConfiguration ) -> Self
The KMS key used for encryption.
sourcepub fn set_server_side_encryption_configuration(
self,
input: Option<ServerSideEncryptionConfiguration>
) -> Self
pub fn set_server_side_encryption_configuration( self, input: Option<ServerSideEncryptionConfiguration> ) -> Self
The KMS key used for encryption.
sourcepub fn get_server_side_encryption_configuration(
&self
) -> &Option<ServerSideEncryptionConfiguration>
pub fn get_server_side_encryption_configuration( &self ) -> &Option<ServerSideEncryptionConfiguration>
The KMS key used for encryption.
sourcepub fn build(self) -> Result<CreateAssistantInput, BuildError>
pub fn build(self) -> Result<CreateAssistantInput, BuildError>
Consumes the builder and constructs a CreateAssistantInput
.
source§impl CreateAssistantInputBuilder
impl CreateAssistantInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateAssistantOutput, SdkError<CreateAssistantError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateAssistantOutput, SdkError<CreateAssistantError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateAssistantInputBuilder
impl Clone for CreateAssistantInputBuilder
source§fn clone(&self) -> CreateAssistantInputBuilder
fn clone(&self) -> CreateAssistantInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAssistantInputBuilder
impl Debug for CreateAssistantInputBuilder
source§impl Default for CreateAssistantInputBuilder
impl Default for CreateAssistantInputBuilder
source§fn default() -> CreateAssistantInputBuilder
fn default() -> CreateAssistantInputBuilder
source§impl PartialEq<CreateAssistantInputBuilder> for CreateAssistantInputBuilder
impl PartialEq<CreateAssistantInputBuilder> for CreateAssistantInputBuilder
source§fn eq(&self, other: &CreateAssistantInputBuilder) -> bool
fn eq(&self, other: &CreateAssistantInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.