#[non_exhaustive]pub struct UpdateStudioInputBuilder { /* private fields */ }
Expand description
A builder for UpdateStudioInput
.
Implementations§
source§impl UpdateStudioInputBuilder
impl UpdateStudioInputBuilder
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.
This field is required.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 subnet_ids
.
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.
sourcepub fn build(self) -> Result<UpdateStudioInput, BuildError>
pub fn build(self) -> Result<UpdateStudioInput, BuildError>
Consumes the builder and constructs a UpdateStudioInput
.
source§impl UpdateStudioInputBuilder
impl UpdateStudioInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateStudioOutput, SdkError<UpdateStudioError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateStudioOutput, SdkError<UpdateStudioError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateStudioInputBuilder
impl Clone for UpdateStudioInputBuilder
source§fn clone(&self) -> UpdateStudioInputBuilder
fn clone(&self) -> UpdateStudioInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateStudioInputBuilder
impl Debug for UpdateStudioInputBuilder
source§impl Default for UpdateStudioInputBuilder
impl Default for UpdateStudioInputBuilder
source§fn default() -> UpdateStudioInputBuilder
fn default() -> UpdateStudioInputBuilder
source§impl PartialEq for UpdateStudioInputBuilder
impl PartialEq for UpdateStudioInputBuilder
source§fn eq(&self, other: &UpdateStudioInputBuilder) -> bool
fn eq(&self, other: &UpdateStudioInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.