Struct aws_sdk_emr::client::fluent_builders::UpdateStudio
source · pub struct UpdateStudio { /* 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 UpdateStudio
impl UpdateStudio
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateStudio, AwsResponseRetryClassifier>, SdkError<UpdateStudioError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateStudio, AwsResponseRetryClassifier>, SdkError<UpdateStudioError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateStudioOutput, SdkError<UpdateStudioError>>
pub async fn send(
self
) -> Result<UpdateStudioOutput, SdkError<UpdateStudioError>>
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 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 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 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 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.
Trait Implementations§
source§impl Clone for UpdateStudio
impl Clone for UpdateStudio
source§fn clone(&self) -> UpdateStudio
fn clone(&self) -> UpdateStudio
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more