Struct aws_sdk_qbusiness::operation::create_application::builders::CreateApplicationInputBuilder
source · #[non_exhaustive]pub struct CreateApplicationInputBuilder { /* private fields */ }Expand description
A builder for CreateApplicationInput.
Implementations§
source§impl CreateApplicationInputBuilder
impl CreateApplicationInputBuilder
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
A name for the Amazon Q application.
This field is required.sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
A name for the Amazon Q application.
sourcepub fn get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
A name for the Amazon Q application.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.
This field is required.sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the Amazon Q application.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the Amazon Q application.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for the Amazon Q application.
sourcepub fn encryption_configuration(self, input: EncryptionConfiguration) -> Self
pub fn encryption_configuration(self, input: EncryptionConfiguration) -> Self
The identifier of the KMS key that is used to encrypt your data. Amazon Q doesn't support asymmetric keys.
sourcepub fn set_encryption_configuration(
self,
input: Option<EncryptionConfiguration>
) -> Self
pub fn set_encryption_configuration( self, input: Option<EncryptionConfiguration> ) -> Self
The identifier of the KMS key that is used to encrypt your data. Amazon Q doesn't support asymmetric keys.
sourcepub fn get_encryption_configuration(&self) -> &Option<EncryptionConfiguration>
pub fn get_encryption_configuration(&self) -> &Option<EncryptionConfiguration>
The identifier of the KMS key that is used to encrypt your data. Amazon Q doesn't support asymmetric keys.
Appends an item to tags.
To override the contents of this collection use set_tags.
A list of key-value pairs that identify or categorize your Amazon Q application. You can also use tags to help control access to the application. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
A list of key-value pairs that identify or categorize your Amazon Q application. You can also use tags to help control access to the application. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
A list of key-value pairs that identify or categorize your Amazon Q application. You can also use tags to help control access to the application. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A token that you provide to identify the request to create your Amazon Q application.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A token that you provide to identify the request to create your Amazon Q application.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A token that you provide to identify the request to create your Amazon Q application.
sourcepub fn attachments_configuration(self, input: AttachmentsConfiguration) -> Self
pub fn attachments_configuration(self, input: AttachmentsConfiguration) -> Self
An option to allow end users to upload files directly during chat.
sourcepub fn set_attachments_configuration(
self,
input: Option<AttachmentsConfiguration>
) -> Self
pub fn set_attachments_configuration( self, input: Option<AttachmentsConfiguration> ) -> Self
An option to allow end users to upload files directly during chat.
sourcepub fn get_attachments_configuration(&self) -> &Option<AttachmentsConfiguration>
pub fn get_attachments_configuration(&self) -> &Option<AttachmentsConfiguration>
An option to allow end users to upload files directly during chat.
sourcepub fn build(self) -> Result<CreateApplicationInput, BuildError>
pub fn build(self) -> Result<CreateApplicationInput, BuildError>
Consumes the builder and constructs a CreateApplicationInput.
source§impl CreateApplicationInputBuilder
impl CreateApplicationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateApplicationOutput, SdkError<CreateApplicationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateApplicationOutput, SdkError<CreateApplicationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateApplicationInputBuilder
impl Clone for CreateApplicationInputBuilder
source§fn clone(&self) -> CreateApplicationInputBuilder
fn clone(&self) -> CreateApplicationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateApplicationInputBuilder
impl Default for CreateApplicationInputBuilder
source§fn default() -> CreateApplicationInputBuilder
fn default() -> CreateApplicationInputBuilder
source§impl PartialEq for CreateApplicationInputBuilder
impl PartialEq for CreateApplicationInputBuilder
source§fn eq(&self, other: &CreateApplicationInputBuilder) -> bool
fn eq(&self, other: &CreateApplicationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.