Struct aws_sdk_emr::types::builders::ExecutionEngineConfigBuilder
source · #[non_exhaustive]pub struct ExecutionEngineConfigBuilder { /* private fields */ }
Expand description
A builder for ExecutionEngineConfig
.
Implementations§
source§impl ExecutionEngineConfigBuilder
impl ExecutionEngineConfigBuilder
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 Amazon EMR cluster, this is the cluster ID.
This field is required.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 Amazon EMR cluster, this is the cluster ID.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The unique identifier of the execution engine. For an Amazon 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 Amazon 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 Amazon EMR cluster.
sourcepub fn get_type(&self) -> &Option<ExecutionEngineType>
pub fn get_type(&self) -> &Option<ExecutionEngineType>
The type of execution engine. A value of EMR
specifies an Amazon 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 Amazon EC2 security group to associate with the master instance of the Amazon EMR cluster for this notebook execution. For more information see Specifying Amazon EC2 Security Groups for Amazon 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 Amazon EC2 security group to associate with the master instance of the Amazon EMR cluster for this notebook execution. For more information see Specifying Amazon EC2 Security Groups for Amazon EMR Notebooks in the EMR Management Guide.
sourcepub fn get_master_instance_security_group_id(&self) -> &Option<String>
pub fn get_master_instance_security_group_id(&self) -> &Option<String>
An optional unique ID of an Amazon EC2 security group to associate with the master instance of the Amazon EMR cluster for this notebook execution. For more information see Specifying Amazon EC2 Security Groups for Amazon EMR Notebooks in the EMR Management Guide.
sourcepub fn execution_role_arn(self, input: impl Into<String>) -> Self
pub fn execution_role_arn(self, input: impl Into<String>) -> Self
The execution role ARN required for the notebook execution.
sourcepub fn set_execution_role_arn(self, input: Option<String>) -> Self
pub fn set_execution_role_arn(self, input: Option<String>) -> Self
The execution role ARN required for the notebook execution.
sourcepub fn get_execution_role_arn(&self) -> &Option<String>
pub fn get_execution_role_arn(&self) -> &Option<String>
The execution role ARN required for the notebook execution.
sourcepub fn build(self) -> ExecutionEngineConfig
pub fn build(self) -> ExecutionEngineConfig
Consumes the builder and constructs a ExecutionEngineConfig
.
Trait Implementations§
source§impl Clone for ExecutionEngineConfigBuilder
impl Clone for ExecutionEngineConfigBuilder
source§fn clone(&self) -> ExecutionEngineConfigBuilder
fn clone(&self) -> ExecutionEngineConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExecutionEngineConfigBuilder
impl Debug for ExecutionEngineConfigBuilder
source§impl Default for ExecutionEngineConfigBuilder
impl Default for ExecutionEngineConfigBuilder
source§fn default() -> ExecutionEngineConfigBuilder
fn default() -> ExecutionEngineConfigBuilder
source§impl PartialEq for ExecutionEngineConfigBuilder
impl PartialEq for ExecutionEngineConfigBuilder
source§fn eq(&self, other: &ExecutionEngineConfigBuilder) -> bool
fn eq(&self, other: &ExecutionEngineConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.