#[non_exhaustive]pub struct UpdatePromptInputBuilder { /* private fields */ }
Expand description
A builder for UpdatePromptInput
.
Implementations§
source§impl UpdatePromptInputBuilder
impl UpdatePromptInputBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
This field is required.sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn prompt_id(self, input: impl Into<String>) -> Self
pub fn prompt_id(self, input: impl Into<String>) -> Self
A unique identifier for the prompt.
This field is required.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
A description of the prompt.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the prompt.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the prompt.
sourcepub fn s3_uri(self, input: impl Into<String>) -> Self
pub fn s3_uri(self, input: impl Into<String>) -> Self
The URI for the S3 bucket where the prompt is stored. You can provide S3 pre-signed URLs returned by the GetPromptFile API instead of providing S3 URIs.
sourcepub fn set_s3_uri(self, input: Option<String>) -> Self
pub fn set_s3_uri(self, input: Option<String>) -> Self
The URI for the S3 bucket where the prompt is stored. You can provide S3 pre-signed URLs returned by the GetPromptFile API instead of providing S3 URIs.
sourcepub fn get_s3_uri(&self) -> &Option<String>
pub fn get_s3_uri(&self) -> &Option<String>
The URI for the S3 bucket where the prompt is stored. You can provide S3 pre-signed URLs returned by the GetPromptFile API instead of providing S3 URIs.
sourcepub fn build(self) -> Result<UpdatePromptInput, BuildError>
pub fn build(self) -> Result<UpdatePromptInput, BuildError>
Consumes the builder and constructs a UpdatePromptInput
.
source§impl UpdatePromptInputBuilder
impl UpdatePromptInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdatePromptOutput, SdkError<UpdatePromptError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdatePromptOutput, SdkError<UpdatePromptError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdatePromptInputBuilder
impl Clone for UpdatePromptInputBuilder
source§fn clone(&self) -> UpdatePromptInputBuilder
fn clone(&self) -> UpdatePromptInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdatePromptInputBuilder
impl Debug for UpdatePromptInputBuilder
source§impl Default for UpdatePromptInputBuilder
impl Default for UpdatePromptInputBuilder
source§fn default() -> UpdatePromptInputBuilder
fn default() -> UpdatePromptInputBuilder
source§impl PartialEq for UpdatePromptInputBuilder
impl PartialEq for UpdatePromptInputBuilder
source§fn eq(&self, other: &UpdatePromptInputBuilder) -> bool
fn eq(&self, other: &UpdatePromptInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdatePromptInputBuilder
Auto Trait Implementations§
impl Freeze for UpdatePromptInputBuilder
impl RefUnwindSafe for UpdatePromptInputBuilder
impl Send for UpdatePromptInputBuilder
impl Sync for UpdatePromptInputBuilder
impl Unpin for UpdatePromptInputBuilder
impl UnwindSafe for UpdatePromptInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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