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 ==
.impl StructuralPartialEq for PromptBuilder
Auto Trait Implementations§
impl Freeze for PromptBuilder
impl RefUnwindSafe for PromptBuilder
impl Send for PromptBuilder
impl Sync for PromptBuilder
impl Unpin for PromptBuilder
impl UnwindSafe for PromptBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more