Struct aws_sdk_connect::types::builders::PromptBuilder
source · #[non_exhaustive]pub struct PromptBuilder { /* private fields */ }
Expand description
A builder for Prompt
.
Implementations§
source§impl PromptBuilder
impl PromptBuilder
sourcepub fn prompt_arn(self, input: impl Into<String>) -> Self
pub fn prompt_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the prompt.
sourcepub fn set_prompt_arn(self, input: Option<String>) -> Self
pub fn set_prompt_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the prompt.
sourcepub fn get_prompt_arn(&self) -> &Option<String>
pub fn get_prompt_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the prompt.
sourcepub fn set_prompt_id(self, input: Option<String>) -> Self
pub fn set_prompt_id(self, input: Option<String>) -> Self
A unique identifier for the prompt.
sourcepub fn get_prompt_id(&self) -> &Option<String>
pub fn get_prompt_id(&self) -> &Option<String>
A unique identifier for the prompt.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the prompt.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the prompt.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the prompt.
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. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The timestamp when this resource was last modified.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
The timestamp when this resource was last modified.
sourcepub fn get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
The timestamp when this resource was last modified.
sourcepub fn last_modified_region(self, input: impl Into<String>) -> Self
pub fn last_modified_region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region where this resource was last modified.
sourcepub fn set_last_modified_region(self, input: Option<String>) -> Self
pub fn set_last_modified_region(self, input: Option<String>) -> Self
The Amazon Web Services Region where this resource was last modified.
sourcepub fn get_last_modified_region(&self) -> &Option<String>
pub fn get_last_modified_region(&self) -> &Option<String>
The Amazon Web Services Region where this resource was last modified.
Trait Implementations§
source§impl Clone for PromptBuilder
impl Clone for PromptBuilder
source§fn clone(&self) -> PromptBuilder
fn clone(&self) -> PromptBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PromptBuilder
impl Debug for PromptBuilder
source§impl Default for PromptBuilder
impl Default for PromptBuilder
source§fn default() -> PromptBuilder
fn default() -> PromptBuilder
source§impl PartialEq for PromptBuilder
impl PartialEq for PromptBuilder
source§fn eq(&self, other: &PromptBuilder) -> bool
fn eq(&self, other: &PromptBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.