pub struct UpdateStudioFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateStudio
.
Updates an Amazon EMR Studio configuration, including attributes such as name, description, and subnets.
Implementations§
source§impl UpdateStudioFluentBuilder
impl UpdateStudioFluentBuilder
sourcepub fn as_input(&self) -> &UpdateStudioInputBuilder
pub fn as_input(&self) -> &UpdateStudioInputBuilder
Access the UpdateStudio as a reference.
sourcepub async fn send(
self
) -> Result<UpdateStudioOutput, SdkError<UpdateStudioError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateStudioOutput, SdkError<UpdateStudioError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateStudioOutput, UpdateStudioError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateStudioOutput, UpdateStudioError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn studio_id(self, input: impl Into<String>) -> Self
pub fn studio_id(self, input: impl Into<String>) -> Self
The ID of the Amazon EMR Studio to update.
sourcepub fn set_studio_id(self, input: Option<String>) -> Self
pub fn set_studio_id(self, input: Option<String>) -> Self
The ID of the Amazon EMR Studio to update.
sourcepub fn get_studio_id(&self) -> &Option<String>
pub fn get_studio_id(&self) -> &Option<String>
The ID of the Amazon EMR Studio to update.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A descriptive name for the Amazon EMR Studio.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A descriptive name for the Amazon EMR Studio.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A detailed description to assign to the Amazon EMR Studio.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A detailed description to assign to the Amazon EMR Studio.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A detailed description to assign to the Amazon EMR Studio.
sourcepub fn subnet_ids(self, input: impl Into<String>) -> Self
pub fn subnet_ids(self, input: impl Into<String>) -> Self
Appends an item to SubnetIds
.
To override the contents of this collection use set_subnet_ids
.
A list of subnet IDs to associate with the Amazon EMR Studio. The list can include new subnet IDs, but must also include all of the subnet IDs previously associated with the Studio. The list order does not matter. A Studio can have a maximum of 5 subnets. The subnets must belong to the same VPC as the Studio.
sourcepub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
A list of subnet IDs to associate with the Amazon EMR Studio. The list can include new subnet IDs, but must also include all of the subnet IDs previously associated with the Studio. The list order does not matter. A Studio can have a maximum of 5 subnets. The subnets must belong to the same VPC as the Studio.
sourcepub fn get_subnet_ids(&self) -> &Option<Vec<String>>
pub fn get_subnet_ids(&self) -> &Option<Vec<String>>
A list of subnet IDs to associate with the Amazon EMR Studio. The list can include new subnet IDs, but must also include all of the subnet IDs previously associated with the Studio. The list order does not matter. A Studio can have a maximum of 5 subnets. The subnets must belong to the same VPC as the Studio.
sourcepub fn default_s3_location(self, input: impl Into<String>) -> Self
pub fn default_s3_location(self, input: impl Into<String>) -> Self
The Amazon S3 location to back up Workspaces and notebook files for the Amazon EMR Studio.
sourcepub fn set_default_s3_location(self, input: Option<String>) -> Self
pub fn set_default_s3_location(self, input: Option<String>) -> Self
The Amazon S3 location to back up Workspaces and notebook files for the Amazon EMR Studio.
sourcepub fn get_default_s3_location(&self) -> &Option<String>
pub fn get_default_s3_location(&self) -> &Option<String>
The Amazon S3 location to back up Workspaces and notebook files for the Amazon EMR Studio.
sourcepub fn encryption_key_arn(self, input: impl Into<String>) -> Self
pub fn encryption_key_arn(self, input: impl Into<String>) -> Self
The KMS key identifier (ARN) used to encrypt Amazon EMR Studio workspace and notebook files when backed up to Amazon S3.
sourcepub fn set_encryption_key_arn(self, input: Option<String>) -> Self
pub fn set_encryption_key_arn(self, input: Option<String>) -> Self
The KMS key identifier (ARN) used to encrypt Amazon EMR Studio workspace and notebook files when backed up to Amazon S3.
sourcepub fn get_encryption_key_arn(&self) -> &Option<String>
pub fn get_encryption_key_arn(&self) -> &Option<String>
The KMS key identifier (ARN) used to encrypt Amazon EMR Studio workspace and notebook files when backed up to Amazon S3.
Trait Implementations§
source§impl Clone for UpdateStudioFluentBuilder
impl Clone for UpdateStudioFluentBuilder
source§fn clone(&self) -> UpdateStudioFluentBuilder
fn clone(&self) -> UpdateStudioFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateStudioFluentBuilder
impl !RefUnwindSafe for UpdateStudioFluentBuilder
impl Send for UpdateStudioFluentBuilder
impl Sync for UpdateStudioFluentBuilder
impl Unpin for UpdateStudioFluentBuilder
impl !UnwindSafe for UpdateStudioFluentBuilder
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