Struct aws_sdk_nimble::operation::update_studio_component::builders::UpdateStudioComponentInputBuilder
source · #[non_exhaustive]pub struct UpdateStudioComponentInputBuilder { /* private fields */ }
Expand description
A builder for UpdateStudioComponentInput
.
Implementations§
source§impl UpdateStudioComponentInputBuilder
impl UpdateStudioComponentInputBuilder
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
sourcepub fn configuration(self, input: StudioComponentConfiguration) -> Self
pub fn configuration(self, input: StudioComponentConfiguration) -> Self
The configuration of the studio component, based on component type.
sourcepub fn set_configuration(
self,
input: Option<StudioComponentConfiguration>
) -> Self
pub fn set_configuration( self, input: Option<StudioComponentConfiguration> ) -> Self
The configuration of the studio component, based on component type.
sourcepub fn get_configuration(&self) -> &Option<StudioComponentConfiguration>
pub fn get_configuration(&self) -> &Option<StudioComponentConfiguration>
The configuration of the studio component, based on component type.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description.
sourcepub fn ec2_security_group_ids(self, input: impl Into<String>) -> Self
pub fn ec2_security_group_ids(self, input: impl Into<String>) -> Self
Appends an item to ec2_security_group_ids
.
To override the contents of this collection use set_ec2_security_group_ids
.
The EC2 security groups that control access to the studio component.
sourcepub fn set_ec2_security_group_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_ec2_security_group_ids(self, input: Option<Vec<String>>) -> Self
The EC2 security groups that control access to the studio component.
sourcepub fn get_ec2_security_group_ids(&self) -> &Option<Vec<String>>
pub fn get_ec2_security_group_ids(&self) -> &Option<Vec<String>>
The EC2 security groups that control access to the studio component.
sourcepub fn initialization_scripts(
self,
input: StudioComponentInitializationScript
) -> Self
pub fn initialization_scripts( self, input: StudioComponentInitializationScript ) -> Self
Appends an item to initialization_scripts
.
To override the contents of this collection use set_initialization_scripts
.
Initialization scripts for studio components.
sourcepub fn set_initialization_scripts(
self,
input: Option<Vec<StudioComponentInitializationScript>>
) -> Self
pub fn set_initialization_scripts( self, input: Option<Vec<StudioComponentInitializationScript>> ) -> Self
Initialization scripts for studio components.
sourcepub fn get_initialization_scripts(
&self
) -> &Option<Vec<StudioComponentInitializationScript>>
pub fn get_initialization_scripts( &self ) -> &Option<Vec<StudioComponentInitializationScript>>
Initialization scripts for studio components.
sourcepub fn script_parameters(self, input: ScriptParameterKeyValue) -> Self
pub fn script_parameters(self, input: ScriptParameterKeyValue) -> Self
Appends an item to script_parameters
.
To override the contents of this collection use set_script_parameters
.
Parameters for the studio component scripts.
sourcepub fn set_script_parameters(
self,
input: Option<Vec<ScriptParameterKeyValue>>
) -> Self
pub fn set_script_parameters( self, input: Option<Vec<ScriptParameterKeyValue>> ) -> Self
Parameters for the studio component scripts.
sourcepub fn get_script_parameters(&self) -> &Option<Vec<ScriptParameterKeyValue>>
pub fn get_script_parameters(&self) -> &Option<Vec<ScriptParameterKeyValue>>
Parameters for the studio component scripts.
sourcepub fn studio_component_id(self, input: impl Into<String>) -> Self
pub fn studio_component_id(self, input: impl Into<String>) -> Self
The studio component ID.
This field is required.sourcepub fn set_studio_component_id(self, input: Option<String>) -> Self
pub fn set_studio_component_id(self, input: Option<String>) -> Self
The studio component ID.
sourcepub fn get_studio_component_id(&self) -> &Option<String>
pub fn get_studio_component_id(&self) -> &Option<String>
The studio component ID.
sourcepub fn studio_id(self, input: impl Into<String>) -> Self
pub fn studio_id(self, input: impl Into<String>) -> Self
The studio ID.
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 studio ID.
sourcepub fn get_studio_id(&self) -> &Option<String>
pub fn get_studio_id(&self) -> &Option<String>
The studio ID.
sourcepub fn subtype(self, input: StudioComponentSubtype) -> Self
pub fn subtype(self, input: StudioComponentSubtype) -> Self
The specific subtype of a studio component.
sourcepub fn set_subtype(self, input: Option<StudioComponentSubtype>) -> Self
pub fn set_subtype(self, input: Option<StudioComponentSubtype>) -> Self
The specific subtype of a studio component.
sourcepub fn get_subtype(&self) -> &Option<StudioComponentSubtype>
pub fn get_subtype(&self) -> &Option<StudioComponentSubtype>
The specific subtype of a studio component.
sourcepub fn type(self, input: StudioComponentType) -> Self
pub fn type(self, input: StudioComponentType) -> Self
The type of the studio component.
sourcepub fn set_type(self, input: Option<StudioComponentType>) -> Self
pub fn set_type(self, input: Option<StudioComponentType>) -> Self
The type of the studio component.
sourcepub fn get_type(&self) -> &Option<StudioComponentType>
pub fn get_type(&self) -> &Option<StudioComponentType>
The type of the studio component.
sourcepub fn secure_initialization_role_arn(self, input: impl Into<String>) -> Self
pub fn secure_initialization_role_arn(self, input: impl Into<String>) -> Self
An IAM role attached to Studio Component when the system initialization script runs which give the studio component access to Amazon Web Services resources when the system initialization script runs.
sourcepub fn set_secure_initialization_role_arn(self, input: Option<String>) -> Self
pub fn set_secure_initialization_role_arn(self, input: Option<String>) -> Self
An IAM role attached to Studio Component when the system initialization script runs which give the studio component access to Amazon Web Services resources when the system initialization script runs.
sourcepub fn get_secure_initialization_role_arn(&self) -> &Option<String>
pub fn get_secure_initialization_role_arn(&self) -> &Option<String>
An IAM role attached to Studio Component when the system initialization script runs which give the studio component access to Amazon Web Services resources when the system initialization script runs.
sourcepub fn runtime_role_arn(self, input: impl Into<String>) -> Self
pub fn runtime_role_arn(self, input: impl Into<String>) -> Self
An IAM role attached to a Studio Component that gives the studio component access to Amazon Web Services resources at anytime while the instance is running.
sourcepub fn set_runtime_role_arn(self, input: Option<String>) -> Self
pub fn set_runtime_role_arn(self, input: Option<String>) -> Self
An IAM role attached to a Studio Component that gives the studio component access to Amazon Web Services resources at anytime while the instance is running.
sourcepub fn get_runtime_role_arn(&self) -> &Option<String>
pub fn get_runtime_role_arn(&self) -> &Option<String>
An IAM role attached to a Studio Component that gives the studio component access to Amazon Web Services resources at anytime while the instance is running.
sourcepub fn build(self) -> Result<UpdateStudioComponentInput, BuildError>
pub fn build(self) -> Result<UpdateStudioComponentInput, BuildError>
Consumes the builder and constructs a UpdateStudioComponentInput
.
source§impl UpdateStudioComponentInputBuilder
impl UpdateStudioComponentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateStudioComponentOutput, SdkError<UpdateStudioComponentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateStudioComponentOutput, SdkError<UpdateStudioComponentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateStudioComponentInputBuilder
impl Clone for UpdateStudioComponentInputBuilder
source§fn clone(&self) -> UpdateStudioComponentInputBuilder
fn clone(&self) -> UpdateStudioComponentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateStudioComponentInputBuilder
impl Default for UpdateStudioComponentInputBuilder
source§fn default() -> UpdateStudioComponentInputBuilder
fn default() -> UpdateStudioComponentInputBuilder
source§impl PartialEq for UpdateStudioComponentInputBuilder
impl PartialEq for UpdateStudioComponentInputBuilder
source§fn eq(&self, other: &UpdateStudioComponentInputBuilder) -> bool
fn eq(&self, other: &UpdateStudioComponentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.