Struct aws_sdk_nimble::types::builders::StudioComponentBuilder
source · #[non_exhaustive]pub struct StudioComponentBuilder { /* private fields */ }Expand description
A builder for StudioComponent.
Implementations§
source§impl StudioComponentBuilder
impl StudioComponentBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it. ARNs are unique across all Regions.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it. ARNs are unique across all Regions.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it. ARNs are unique across all Regions.
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 created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The ISO timestamp in seconds for when the resource was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The ISO timestamp in seconds for when the resource was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The ISO timestamp in seconds for when the resource was created.
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The user ID of the user that created the studio component.
sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The user ID of the user that created the studio component.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The user ID of the user that created the studio component.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A human-readable description for the studio component resource.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A human-readable description for the studio component resource.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A human-readable description for the studio component resource.
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 name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A friendly name for the studio component resource.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A friendly name for the studio component resource.
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 state(self, input: StudioComponentState) -> Self
pub fn state(self, input: StudioComponentState) -> Self
The current state.
sourcepub fn set_state(self, input: Option<StudioComponentState>) -> Self
pub fn set_state(self, input: Option<StudioComponentState>) -> Self
The current state.
sourcepub fn get_state(&self) -> &Option<StudioComponentState>
pub fn get_state(&self) -> &Option<StudioComponentState>
The current state.
sourcepub fn status_code(self, input: StudioComponentStatusCode) -> Self
pub fn status_code(self, input: StudioComponentStatusCode) -> Self
The status code.
sourcepub fn set_status_code(self, input: Option<StudioComponentStatusCode>) -> Self
pub fn set_status_code(self, input: Option<StudioComponentStatusCode>) -> Self
The status code.
sourcepub fn get_status_code(&self) -> &Option<StudioComponentStatusCode>
pub fn get_status_code(&self) -> &Option<StudioComponentStatusCode>
The status code.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The status message for the studio component.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The status message for the studio component.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
The status message for the studio component.
sourcepub fn studio_component_id(self, input: impl Into<String>) -> Self
pub fn studio_component_id(self, input: impl Into<String>) -> Self
The unique identifier for a studio component resource.
sourcepub fn set_studio_component_id(self, input: Option<String>) -> Self
pub fn set_studio_component_id(self, input: Option<String>) -> Self
The unique identifier for a studio component resource.
sourcepub fn get_studio_component_id(&self) -> &Option<String>
pub fn get_studio_component_id(&self) -> &Option<String>
The unique identifier for a studio component resource.
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.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
A collection of labels, in the form of key-value pairs, that apply to this resource.
A collection of labels, in the form of key-value pairs, that apply to this resource.
A collection of labels, in the form of key-value pairs, that apply to this resource.
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 updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The ISO timestamp in seconds for when the resource was updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The ISO timestamp in seconds for when the resource was updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The ISO timestamp in seconds for when the resource was updated.
sourcepub fn updated_by(self, input: impl Into<String>) -> Self
pub fn updated_by(self, input: impl Into<String>) -> Self
The user ID of the user that most recently updated the resource.
sourcepub fn set_updated_by(self, input: Option<String>) -> Self
pub fn set_updated_by(self, input: Option<String>) -> Self
The user ID of the user that most recently updated the resource.
sourcepub fn get_updated_by(&self) -> &Option<String>
pub fn get_updated_by(&self) -> &Option<String>
The user ID of the user that most recently updated the resource.
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) -> StudioComponent
pub fn build(self) -> StudioComponent
Consumes the builder and constructs a StudioComponent.
Trait Implementations§
source§impl Clone for StudioComponentBuilder
impl Clone for StudioComponentBuilder
source§fn clone(&self) -> StudioComponentBuilder
fn clone(&self) -> StudioComponentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StudioComponentBuilder
impl Debug for StudioComponentBuilder
source§impl Default for StudioComponentBuilder
impl Default for StudioComponentBuilder
source§fn default() -> StudioComponentBuilder
fn default() -> StudioComponentBuilder
source§impl PartialEq for StudioComponentBuilder
impl PartialEq for StudioComponentBuilder
source§fn eq(&self, other: &StudioComponentBuilder) -> bool
fn eq(&self, other: &StudioComponentBuilder) -> bool
self and other values to be equal, and is used
by ==.