Struct aws_sdk_qconnect::operation::create_assistant_association::builders::CreateAssistantAssociationInputBuilder
source · #[non_exhaustive]pub struct CreateAssistantAssociationInputBuilder { /* private fields */ }Expand description
A builder for CreateAssistantAssociationInput.
Implementations§
source§impl CreateAssistantAssociationInputBuilder
impl CreateAssistantAssociationInputBuilder
sourcepub fn assistant_id(self, input: impl Into<String>) -> Self
pub fn assistant_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
This field is required.sourcepub fn set_assistant_id(self, input: Option<String>) -> Self
pub fn set_assistant_id(self, input: Option<String>) -> Self
The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn get_assistant_id(&self) -> &Option<String>
pub fn get_assistant_id(&self) -> &Option<String>
The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn association_type(self, input: AssociationType) -> Self
pub fn association_type(self, input: AssociationType) -> Self
The type of association.
This field is required.sourcepub fn set_association_type(self, input: Option<AssociationType>) -> Self
pub fn set_association_type(self, input: Option<AssociationType>) -> Self
The type of association.
sourcepub fn get_association_type(&self) -> &Option<AssociationType>
pub fn get_association_type(&self) -> &Option<AssociationType>
The type of association.
sourcepub fn association(self, input: AssistantAssociationInputData) -> Self
pub fn association(self, input: AssistantAssociationInputData) -> Self
The identifier of the associated resource.
This field is required.sourcepub fn set_association(
self,
input: Option<AssistantAssociationInputData>
) -> Self
pub fn set_association( self, input: Option<AssistantAssociationInputData> ) -> Self
The identifier of the associated resource.
sourcepub fn get_association(&self) -> &Option<AssistantAssociationInputData>
pub fn get_association(&self) -> &Option<AssistantAssociationInputData>
The identifier of the associated resource.
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.
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 build(self) -> Result<CreateAssistantAssociationInput, BuildError>
pub fn build(self) -> Result<CreateAssistantAssociationInput, BuildError>
Consumes the builder and constructs a CreateAssistantAssociationInput.
source§impl CreateAssistantAssociationInputBuilder
impl CreateAssistantAssociationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateAssistantAssociationOutput, SdkError<CreateAssistantAssociationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateAssistantAssociationOutput, SdkError<CreateAssistantAssociationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateAssistantAssociationInputBuilder
impl Clone for CreateAssistantAssociationInputBuilder
source§fn clone(&self) -> CreateAssistantAssociationInputBuilder
fn clone(&self) -> CreateAssistantAssociationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateAssistantAssociationInputBuilder
impl Default for CreateAssistantAssociationInputBuilder
source§fn default() -> CreateAssistantAssociationInputBuilder
fn default() -> CreateAssistantAssociationInputBuilder
source§impl PartialEq for CreateAssistantAssociationInputBuilder
impl PartialEq for CreateAssistantAssociationInputBuilder
source§fn eq(&self, other: &CreateAssistantAssociationInputBuilder) -> bool
fn eq(&self, other: &CreateAssistantAssociationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.