public static final class EmrCreateCluster.BootstrapActionConfigProperty.Builder
extends java.lang.Object
EmrCreateCluster.BootstrapActionConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EmrCreateCluster.BootstrapActionConfigProperty |
build()
Builds the configured instance.
|
EmrCreateCluster.BootstrapActionConfigProperty.Builder |
name(java.lang.String name)
Sets the value of
EmrCreateCluster.BootstrapActionConfigProperty.getName() |
EmrCreateCluster.BootstrapActionConfigProperty.Builder |
scriptBootstrapAction(EmrCreateCluster.ScriptBootstrapActionConfigProperty scriptBootstrapAction)
|
public EmrCreateCluster.BootstrapActionConfigProperty.Builder name(java.lang.String name)
EmrCreateCluster.BootstrapActionConfigProperty.getName()
name
- The name of the bootstrap action. This parameter is required.this
public EmrCreateCluster.BootstrapActionConfigProperty.Builder scriptBootstrapAction(EmrCreateCluster.ScriptBootstrapActionConfigProperty scriptBootstrapAction)
scriptBootstrapAction
- The script run by the bootstrap action. This parameter is required.this
public EmrCreateCluster.BootstrapActionConfigProperty build()
EmrCreateCluster.BootstrapActionConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided