Struct aws_sdk_connect::operation::complete_attached_file_upload::builders::CompleteAttachedFileUploadInputBuilder
source · #[non_exhaustive]pub struct CompleteAttachedFileUploadInputBuilder { /* private fields */ }Expand description
A builder for CompleteAttachedFileUploadInput.
Implementations§
source§impl CompleteAttachedFileUploadInputBuilder
impl CompleteAttachedFileUploadInputBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The unique identifier of the Amazon Connect 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 unique identifier of the Amazon Connect instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The unique identifier of the Amazon Connect instance.
sourcepub fn file_id(self, input: impl Into<String>) -> Self
pub fn file_id(self, input: impl Into<String>) -> Self
The unique identifier of the attached file resource.
This field is required.sourcepub fn set_file_id(self, input: Option<String>) -> Self
pub fn set_file_id(self, input: Option<String>) -> Self
The unique identifier of the attached file resource.
sourcepub fn get_file_id(&self) -> &Option<String>
pub fn get_file_id(&self) -> &Option<String>
The unique identifier of the attached file resource.
sourcepub fn associated_resource_arn(self, input: impl Into<String>) -> Self
pub fn associated_resource_arn(self, input: impl Into<String>) -> Self
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
sourcepub fn set_associated_resource_arn(self, input: Option<String>) -> Self
pub fn set_associated_resource_arn(self, input: Option<String>) -> Self
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
sourcepub fn get_associated_resource_arn(&self) -> &Option<String>
pub fn get_associated_resource_arn(&self) -> &Option<String>
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
sourcepub fn build(self) -> Result<CompleteAttachedFileUploadInput, BuildError>
pub fn build(self) -> Result<CompleteAttachedFileUploadInput, BuildError>
Consumes the builder and constructs a CompleteAttachedFileUploadInput.
source§impl CompleteAttachedFileUploadInputBuilder
impl CompleteAttachedFileUploadInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CompleteAttachedFileUploadOutput, SdkError<CompleteAttachedFileUploadError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CompleteAttachedFileUploadOutput, SdkError<CompleteAttachedFileUploadError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CompleteAttachedFileUploadInputBuilder
impl Clone for CompleteAttachedFileUploadInputBuilder
source§fn clone(&self) -> CompleteAttachedFileUploadInputBuilder
fn clone(&self) -> CompleteAttachedFileUploadInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CompleteAttachedFileUploadInputBuilder
impl Default for CompleteAttachedFileUploadInputBuilder
source§fn default() -> CompleteAttachedFileUploadInputBuilder
fn default() -> CompleteAttachedFileUploadInputBuilder
source§impl PartialEq for CompleteAttachedFileUploadInputBuilder
impl PartialEq for CompleteAttachedFileUploadInputBuilder
source§fn eq(&self, other: &CompleteAttachedFileUploadInputBuilder) -> bool
fn eq(&self, other: &CompleteAttachedFileUploadInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompleteAttachedFileUploadInputBuilder
Auto Trait Implementations§
impl Freeze for CompleteAttachedFileUploadInputBuilder
impl RefUnwindSafe for CompleteAttachedFileUploadInputBuilder
impl Send for CompleteAttachedFileUploadInputBuilder
impl Sync for CompleteAttachedFileUploadInputBuilder
impl Unpin for CompleteAttachedFileUploadInputBuilder
impl UnwindSafe for CompleteAttachedFileUploadInputBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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