/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the elasticmapreduce-2009-03-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.ElasticMapReduce.Model
{
///
/// Specifies the execution engine (cluster) to run the notebook and perform the notebook
/// execution, for example, an Amazon EMR cluster.
///
public partial class ExecutionEngineConfig
{
private string _executionRoleArn;
private string _id;
private string _masterInstanceSecurityGroupId;
private ExecutionEngineType _type;
///
/// Gets and sets the property ExecutionRoleArn.
///
/// The execution role ARN required for the notebook execution.
///
///
[AWSProperty(Min=20, Max=2048)]
public string ExecutionRoleArn
{
get { return this._executionRoleArn; }
set { this._executionRoleArn = value; }
}
// Check to see if ExecutionRoleArn property is set
internal bool IsSetExecutionRoleArn()
{
return this._executionRoleArn != null;
}
///
/// Gets and sets the property Id.
///
/// The unique identifier of the execution engine. For an Amazon EMR cluster, this is
/// the cluster ID.
///
///
[AWSProperty(Required=true, Min=0, Max=256)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
///
/// Gets and sets the property 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.
///
///
[AWSProperty(Min=0, Max=256)]
public string MasterInstanceSecurityGroupId
{
get { return this._masterInstanceSecurityGroupId; }
set { this._masterInstanceSecurityGroupId = value; }
}
// Check to see if MasterInstanceSecurityGroupId property is set
internal bool IsSetMasterInstanceSecurityGroupId()
{
return this._masterInstanceSecurityGroupId != null;
}
///
/// Gets and sets the property Type.
///
/// The type of execution engine. A value of EMR
specifies an Amazon EMR
/// cluster.
///
///
public ExecutionEngineType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}