Struct aws_sdk_connect::operation::update_instance_storage_config::builders::UpdateInstanceStorageConfigInputBuilder
source · #[non_exhaustive]pub struct UpdateInstanceStorageConfigInputBuilder { /* private fields */ }Expand description
A builder for UpdateInstanceStorageConfigInput.
Implementations§
source§impl UpdateInstanceStorageConfigInputBuilder
impl UpdateInstanceStorageConfigInputBuilder
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 association_id(self, input: impl Into<String>) -> Self
pub fn association_id(self, input: impl Into<String>) -> Self
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
This field is required.sourcepub fn set_association_id(self, input: Option<String>) -> Self
pub fn set_association_id(self, input: Option<String>) -> Self
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
sourcepub fn get_association_id(&self) -> &Option<String>
pub fn get_association_id(&self) -> &Option<String>
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
sourcepub fn resource_type(self, input: InstanceStorageResourceType) -> Self
pub fn resource_type(self, input: InstanceStorageResourceType) -> Self
A valid resource type.
This field is required.sourcepub fn set_resource_type(
self,
input: Option<InstanceStorageResourceType>
) -> Self
pub fn set_resource_type( self, input: Option<InstanceStorageResourceType> ) -> Self
A valid resource type.
sourcepub fn get_resource_type(&self) -> &Option<InstanceStorageResourceType>
pub fn get_resource_type(&self) -> &Option<InstanceStorageResourceType>
A valid resource type.
sourcepub fn storage_config(self, input: InstanceStorageConfig) -> Self
pub fn storage_config(self, input: InstanceStorageConfig) -> Self
The storage configuration for the instance.
This field is required.sourcepub fn set_storage_config(self, input: Option<InstanceStorageConfig>) -> Self
pub fn set_storage_config(self, input: Option<InstanceStorageConfig>) -> Self
The storage configuration for the instance.
sourcepub fn get_storage_config(&self) -> &Option<InstanceStorageConfig>
pub fn get_storage_config(&self) -> &Option<InstanceStorageConfig>
The storage configuration for the instance.
sourcepub fn build(self) -> Result<UpdateInstanceStorageConfigInput, BuildError>
pub fn build(self) -> Result<UpdateInstanceStorageConfigInput, BuildError>
Consumes the builder and constructs a UpdateInstanceStorageConfigInput.
source§impl UpdateInstanceStorageConfigInputBuilder
impl UpdateInstanceStorageConfigInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateInstanceStorageConfigOutput, SdkError<UpdateInstanceStorageConfigError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateInstanceStorageConfigOutput, SdkError<UpdateInstanceStorageConfigError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateInstanceStorageConfigInputBuilder
impl Clone for UpdateInstanceStorageConfigInputBuilder
source§fn clone(&self) -> UpdateInstanceStorageConfigInputBuilder
fn clone(&self) -> UpdateInstanceStorageConfigInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateInstanceStorageConfigInputBuilder
impl Default for UpdateInstanceStorageConfigInputBuilder
source§fn default() -> UpdateInstanceStorageConfigInputBuilder
fn default() -> UpdateInstanceStorageConfigInputBuilder
source§impl PartialEq for UpdateInstanceStorageConfigInputBuilder
impl PartialEq for UpdateInstanceStorageConfigInputBuilder
source§fn eq(&self, other: &UpdateInstanceStorageConfigInputBuilder) -> bool
fn eq(&self, other: &UpdateInstanceStorageConfigInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateInstanceStorageConfigInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateInstanceStorageConfigInputBuilder
impl RefUnwindSafe for UpdateInstanceStorageConfigInputBuilder
impl Send for UpdateInstanceStorageConfigInputBuilder
impl Sync for UpdateInstanceStorageConfigInputBuilder
impl Unpin for UpdateInstanceStorageConfigInputBuilder
impl UnwindSafe for UpdateInstanceStorageConfigInputBuilder
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