#[non_exhaustive]pub struct AssistantAssociationDataBuilder { /* private fields */ }Expand description
A builder for AssistantAssociationData.
Implementations§
source§impl AssistantAssociationDataBuilder
impl AssistantAssociationDataBuilder
sourcepub fn assistant_association_id(self, input: impl Into<String>) -> Self
pub fn assistant_association_id(self, input: impl Into<String>) -> Self
The identifier of the assistant association.
This field is required.sourcepub fn set_assistant_association_id(self, input: Option<String>) -> Self
pub fn set_assistant_association_id(self, input: Option<String>) -> Self
The identifier of the assistant association.
sourcepub fn get_assistant_association_id(&self) -> &Option<String>
pub fn get_assistant_association_id(&self) -> &Option<String>
The identifier of the assistant association.
sourcepub fn assistant_association_arn(self, input: impl Into<String>) -> Self
pub fn assistant_association_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the assistant association.
This field is required.sourcepub fn set_assistant_association_arn(self, input: Option<String>) -> Self
pub fn set_assistant_association_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the assistant association.
sourcepub fn get_assistant_association_arn(&self) -> &Option<String>
pub fn get_assistant_association_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the assistant association.
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.
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.
sourcepub fn get_assistant_id(&self) -> &Option<String>
pub fn get_assistant_id(&self) -> &Option<String>
The identifier of the Amazon Q assistant.
sourcepub fn assistant_arn(self, input: impl Into<String>) -> Self
pub fn assistant_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon Q assistant.
This field is required.sourcepub fn set_assistant_arn(self, input: Option<String>) -> Self
pub fn set_assistant_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon Q assistant.
sourcepub fn get_assistant_arn(&self) -> &Option<String>
pub fn get_assistant_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon Q assistant.
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_data(self, input: AssistantAssociationOutputData) -> Self
pub fn association_data(self, input: AssistantAssociationOutputData) -> Self
A union type that currently has a single argument, the knowledge base ID.
This field is required.sourcepub fn set_association_data(
self,
input: Option<AssistantAssociationOutputData>
) -> Self
pub fn set_association_data( self, input: Option<AssistantAssociationOutputData> ) -> Self
A union type that currently has a single argument, the knowledge base ID.
sourcepub fn get_association_data(&self) -> &Option<AssistantAssociationOutputData>
pub fn get_association_data(&self) -> &Option<AssistantAssociationOutputData>
A union type that currently has a single argument, the knowledge base ID.
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<AssistantAssociationData, BuildError>
pub fn build(self) -> Result<AssistantAssociationData, BuildError>
Consumes the builder and constructs a AssistantAssociationData.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AssistantAssociationDataBuilder
impl Clone for AssistantAssociationDataBuilder
source§fn clone(&self) -> AssistantAssociationDataBuilder
fn clone(&self) -> AssistantAssociationDataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AssistantAssociationDataBuilder
impl Default for AssistantAssociationDataBuilder
source§fn default() -> AssistantAssociationDataBuilder
fn default() -> AssistantAssociationDataBuilder
source§impl PartialEq for AssistantAssociationDataBuilder
impl PartialEq for AssistantAssociationDataBuilder
source§fn eq(&self, other: &AssistantAssociationDataBuilder) -> bool
fn eq(&self, other: &AssistantAssociationDataBuilder) -> bool
self and other values to be equal, and is used
by ==.