Class that provides helper methods for constructing predefined bootstrap actions.
            
 Declaration Syntax
 Declaration Syntax| C# | 
public class BootstrapActions
 Members
 Members| All Members | Constructors | Methods | |||
| Icon | Member | Description | 
|---|---|---|
|  | BootstrapActions()()()() | 
            Creates a new default BootstrapActions for us in us-east-1.
             | 
|  | BootstrapActions(String) | 
            Creates a new BootstrapActions.
             | 
|  | Equals(Object) | (Inherited from Object.) | 
|  | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | 
|  | GetType()()()() | Gets the type of the current instance.(Inherited from Object.) | 
|  | NewConfigureDaemons()()()() | 
            Create a new bootstrap action which lets you configure Hadoop's daemons. The options
            are written to the hadoop-user-env.sh file.
             | 
|  | NewConfigureHadoop()()()() | 
            Create a new bootstrap action which lets you configure Hadoop's XML files.
             | 
|  | NewRunIf(String, BootstrapActionConfig) | 
            Create a new run-if bootstrap action which lets you conditionally run bootstrap actions.
             | 
|  | ToString()()()() | Returns a string that represents the current object.(Inherited from Object.) | 
 Examples
 Examples CopyC#
CopyC#AmazonElasticMapReduce emr = AWSClientFactory.CreateAmazonElasticMapReduceClient(accessKey, secretKey); BootstrapActions bootstrapActions = new BootstrapActions(); RunJobFlowRequest request = new RunJobFlowRequest { Name = "Job Flow With Bootstrap Actions", BootstrapActions = new List<BootstrapActionConfig> { bootstrapActions.NewRunIf( "instance.isMaster=true", bootstrapActions.NewConfigureDaemons() .WithHeapSize(Daemon.JobTracker, 2048) .Build()) }, LogUri = "s3://log-bucket/", Instances = new JobFlowInstancesConfig { Ec2KeyName = "keypair", HadoopVersion = "0.20", InstanceCount = 5, KeepJobFlowAliveWhenNoSteps = true, MasterInstanceType = "m1.small", SlaveInstanceType = "m1.small" } };
 Inheritance Hierarchy
 Inheritance Hierarchy| Object | |
|  | BootstrapActions |