Struct aws_sdk_emr::model::execution_engine_config::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ExecutionEngineConfig.
Implementations§
source§impl Builder
impl Builder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique identifier of the execution engine. For an EMR cluster, this is the cluster ID.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The unique identifier of the execution engine. For an EMR cluster, this is the cluster ID.
sourcepub fn type(self, input: ExecutionEngineType) -> Self
pub fn type(self, input: ExecutionEngineType) -> Self
The type of execution engine. A value of EMR specifies an EMR cluster.
sourcepub fn set_type(self, input: Option<ExecutionEngineType>) -> Self
pub fn set_type(self, input: Option<ExecutionEngineType>) -> Self
The type of execution engine. A value of EMR specifies an EMR cluster.
sourcepub fn master_instance_security_group_id(self, input: impl Into<String>) -> Self
pub fn master_instance_security_group_id(self, input: impl Into<String>) -> Self
An optional unique ID of an EC2 security group to associate with the master instance of the EMR cluster for this notebook execution. For more information see Specifying EC2 Security Groups for EMR Notebooks in the EMR Management Guide.
sourcepub fn set_master_instance_security_group_id(self, input: Option<String>) -> Self
pub fn set_master_instance_security_group_id(self, input: Option<String>) -> Self
An optional unique ID of an EC2 security group to associate with the master instance of the EMR cluster for this notebook execution. For more information see Specifying EC2 Security Groups for EMR Notebooks in the EMR Management Guide.
sourcepub fn build(self) -> ExecutionEngineConfig
pub fn build(self) -> ExecutionEngineConfig
Consumes the builder and constructs a ExecutionEngineConfig.