@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExecutionEngineConfig extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the execution engine (cluster) to run the notebook and perform the notebook execution, for example, an Amazon EMR cluster.
| Constructor and Description |
|---|
ExecutionEngineConfig() |
| Modifier and Type | Method and Description |
|---|---|
ExecutionEngineConfig |
clone() |
boolean |
equals(Object obj) |
String |
getExecutionRoleArn()
The execution role ARN required for the notebook execution.
|
String |
getId()
The unique identifier of the execution engine.
|
String |
getMasterInstanceSecurityGroupId()
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.
|
String |
getType()
The type of execution engine.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setExecutionRoleArn(String executionRoleArn)
The execution role ARN required for the notebook execution.
|
void |
setId(String id)
The unique identifier of the execution engine.
|
void |
setMasterInstanceSecurityGroupId(String masterInstanceSecurityGroupId)
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.
|
void |
setType(String type)
The type of execution engine.
|
String |
toString()
Returns a string representation of this object.
|
ExecutionEngineConfig |
withExecutionRoleArn(String executionRoleArn)
The execution role ARN required for the notebook execution.
|
ExecutionEngineConfig |
withId(String id)
The unique identifier of the execution engine.
|
ExecutionEngineConfig |
withMasterInstanceSecurityGroupId(String masterInstanceSecurityGroupId)
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.
|
ExecutionEngineConfig |
withType(ExecutionEngineType type)
The type of execution engine.
|
ExecutionEngineConfig |
withType(String type)
The type of execution engine.
|
public void setId(String id)
The unique identifier of the execution engine. For an Amazon EMR cluster, this is the cluster ID.
id - The unique identifier of the execution engine. For an Amazon EMR cluster, this is the cluster ID.public String getId()
The unique identifier of the execution engine. For an Amazon EMR cluster, this is the cluster ID.
public ExecutionEngineConfig withId(String id)
The unique identifier of the execution engine. For an Amazon EMR cluster, this is the cluster ID.
id - The unique identifier of the execution engine. For an Amazon EMR cluster, this is the cluster ID.public void setType(String type)
The type of execution engine. A value of EMR specifies an Amazon EMR cluster.
type - The type of execution engine. A value of EMR specifies an Amazon EMR cluster.ExecutionEngineTypepublic String getType()
The type of execution engine. A value of EMR specifies an Amazon EMR cluster.
EMR specifies an Amazon EMR cluster.ExecutionEngineTypepublic ExecutionEngineConfig withType(String type)
The type of execution engine. A value of EMR specifies an Amazon EMR cluster.
type - The type of execution engine. A value of EMR specifies an Amazon EMR cluster.ExecutionEngineTypepublic ExecutionEngineConfig withType(ExecutionEngineType type)
The type of execution engine. A value of EMR specifies an Amazon EMR cluster.
type - The type of execution engine. A value of EMR specifies an Amazon EMR cluster.ExecutionEngineTypepublic void setMasterInstanceSecurityGroupId(String masterInstanceSecurityGroupId)
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.
masterInstanceSecurityGroupId - 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.public String getMasterInstanceSecurityGroupId()
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.
public ExecutionEngineConfig withMasterInstanceSecurityGroupId(String masterInstanceSecurityGroupId)
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.
masterInstanceSecurityGroupId - 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.public void setExecutionRoleArn(String executionRoleArn)
The execution role ARN required for the notebook execution.
executionRoleArn - The execution role ARN required for the notebook execution.public String getExecutionRoleArn()
The execution role ARN required for the notebook execution.
public ExecutionEngineConfig withExecutionRoleArn(String executionRoleArn)
The execution role ARN required for the notebook execution.
executionRoleArn - The execution role ARN required for the notebook execution.public String toString()
toString in class ObjectObject.toString()public ExecutionEngineConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.