@Stability(value=Experimental) public static final class EmrCreateCluster.Builder extends Object
EmrCreateCluster.| Modifier and Type | Method and Description |
|---|---|
EmrCreateCluster.Builder |
additionalInfo(String additionalInfo)
A JSON string for selecting additional features.
|
EmrCreateCluster.Builder |
applications(List<EmrCreateCluster.ApplicationConfigProperty> applications)
A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster.
|
EmrCreateCluster.Builder |
autoScalingRole(IRole autoScalingRole)
An IAM role for automatic scaling policies.
|
EmrCreateCluster.Builder |
bootstrapActions(List<EmrCreateCluster.BootstrapActionConfigProperty> bootstrapActions)
A list of bootstrap actions to run before Hadoop starts on the cluster nodes.
|
EmrCreateCluster |
build() |
EmrCreateCluster.Builder |
clusterRole(IRole clusterRole)
Also called instance profile and EC2 role.
|
EmrCreateCluster.Builder |
configurations(List<EmrCreateCluster.ConfigurationProperty> configurations)
The list of configurations supplied for the EMR cluster you are creating.
|
static EmrCreateCluster.Builder |
create()
EXPERIMENTAL
|
EmrCreateCluster.Builder |
customAmiId(String customAmiId)
The ID of a custom Amazon EBS-backed Linux AMI.
|
EmrCreateCluster.Builder |
ebsRootVolumeSize(Number ebsRootVolumeSize)
The size, in GiB, of the EBS root device volume of the Linux AMI that is used for each EC2 instance.
|
EmrCreateCluster.Builder |
instances(EmrCreateCluster.InstancesConfigProperty instances)
A specification of the number and type of Amazon EC2 instances.
|
EmrCreateCluster.Builder |
integrationPattern(ServiceIntegrationPattern integrationPattern)
The service integration pattern indicates different ways to call CreateCluster.
|
EmrCreateCluster.Builder |
kerberosAttributes(EmrCreateCluster.KerberosAttributesProperty kerberosAttributes)
Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration.
|
EmrCreateCluster.Builder |
logUri(String logUri)
The location in Amazon S3 to write the log files of the job flow.
|
EmrCreateCluster.Builder |
name(String name)
The Name of the Cluster.
|
EmrCreateCluster.Builder |
releaseLabel(String releaseLabel)
The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster.
|
EmrCreateCluster.Builder |
scaleDownBehavior(EmrCreateCluster.EmrClusterScaleDownBehavior scaleDownBehavior)
Specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized.
|
EmrCreateCluster.Builder |
securityConfiguration(String securityConfiguration)
The name of a security configuration to apply to the cluster.
|
EmrCreateCluster.Builder |
serviceRole(IRole serviceRole)
The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
|
EmrCreateCluster.Builder |
tags(List<CfnTag> tags)
A list of tags to associate with a cluster and propagate to Amazon EC2 instances.
|
EmrCreateCluster.Builder |
visibleToAllUsers(Boolean visibleToAllUsers)
A value of true indicates that all IAM users in the AWS account can perform cluster actions if they have the proper IAM policy permissions.
|
@Stability(value=Experimental) public static EmrCreateCluster.Builder create()
EmrCreateCluster.ApplicationConfigProperty.Builder.@Stability(value=Experimental) public EmrCreateCluster.Builder instances(EmrCreateCluster.InstancesConfigProperty instances)
EXPERIMENTAL
instances - A specification of the number and type of Amazon EC2 instances. This parameter is required.this@Stability(value=Experimental) public EmrCreateCluster.Builder name(String name)
EXPERIMENTAL
name - The Name of the Cluster. This parameter is required.this@Stability(value=Experimental) public EmrCreateCluster.Builder additionalInfo(String additionalInfo)
Default: No additionalInfo
EXPERIMENTAL
additionalInfo - A JSON string for selecting additional features. This parameter is required.this@Stability(value=Experimental) public EmrCreateCluster.Builder applications(List<EmrCreateCluster.ApplicationConfigProperty> applications)
Default: EMR selected default
EXPERIMENTAL
applications - A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster. This parameter is required.this@Stability(value=Experimental) public EmrCreateCluster.Builder autoScalingRole(IRole autoScalingRole)
A Role will be created if one is not provided.
Default: No autoScalingRole
EXPERIMENTAL
autoScalingRole - An IAM role for automatic scaling policies. This parameter is required.this@Stability(value=Experimental) public EmrCreateCluster.Builder bootstrapActions(List<EmrCreateCluster.BootstrapActionConfigProperty> bootstrapActions)
Default: No bootstrapActions
EXPERIMENTAL
bootstrapActions - A list of bootstrap actions to run before Hadoop starts on the cluster nodes. This parameter is required.this@Stability(value=Experimental) public EmrCreateCluster.Builder clusterRole(IRole clusterRole)
An IAM role for an EMR cluster. The EC2 instances of the cluster assume this role.
This attribute has been renamed from jobFlowRole to clusterRole to align with other ERM/StepFunction integration parameters. A Role will be created if one is not provided.
Default: No clusterRole
EXPERIMENTAL
clusterRole - Also called instance profile and EC2 role. This parameter is required.this@Stability(value=Experimental) public EmrCreateCluster.Builder configurations(List<EmrCreateCluster.ConfigurationProperty> configurations)
Default: No configurations
EXPERIMENTAL
configurations - The list of configurations supplied for the EMR cluster you are creating. This parameter is required.this@Stability(value=Experimental) public EmrCreateCluster.Builder customAmiId(String customAmiId)
Default: No customAmiId
EXPERIMENTAL
customAmiId - The ID of a custom Amazon EBS-backed Linux AMI. This parameter is required.this@Stability(value=Experimental) public EmrCreateCluster.Builder ebsRootVolumeSize(Number ebsRootVolumeSize)
Default: EMR selected default
EXPERIMENTAL
ebsRootVolumeSize - The size, in GiB, of the EBS root device volume of the Linux AMI that is used for each EC2 instance. This parameter is required.this@Stability(value=Experimental) public EmrCreateCluster.Builder integrationPattern(ServiceIntegrationPattern integrationPattern)
The valid value is either FIRE_AND_FORGET or SYNC.
Default: SYNC
EXPERIMENTAL
integrationPattern - The service integration pattern indicates different ways to call CreateCluster. This parameter is required.this@Stability(value=Experimental) public EmrCreateCluster.Builder kerberosAttributes(EmrCreateCluster.KerberosAttributesProperty kerberosAttributes)
Default: No kerberosAttributes
EXPERIMENTAL
kerberosAttributes - Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration. This parameter is required.this@Stability(value=Experimental) public EmrCreateCluster.Builder logUri(String logUri)
Default: No logUri
EXPERIMENTAL
logUri - The location in Amazon S3 to write the log files of the job flow. This parameter is required.this@Stability(value=Experimental) public EmrCreateCluster.Builder releaseLabel(String releaseLabel)
Default: EMR selected default
EXPERIMENTAL
releaseLabel - The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster. This parameter is required.this@Stability(value=Experimental) public EmrCreateCluster.Builder scaleDownBehavior(EmrCreateCluster.EmrClusterScaleDownBehavior scaleDownBehavior)
Default: EMR selected default
EXPERIMENTAL
scaleDownBehavior - Specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. This parameter is required.this@Stability(value=Experimental) public EmrCreateCluster.Builder securityConfiguration(String securityConfiguration)
Default: No securityConfiguration
EXPERIMENTAL
securityConfiguration - The name of a security configuration to apply to the cluster. This parameter is required.this@Stability(value=Experimental) public EmrCreateCluster.Builder serviceRole(IRole serviceRole)
A Role will be created if one is not provided.
Default: No serviceRole
EXPERIMENTAL
serviceRole - The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf. This parameter is required.this@Stability(value=Experimental) public EmrCreateCluster.Builder tags(List<CfnTag> tags)
Default: No Tags
EXPERIMENTAL
tags - A list of tags to associate with a cluster and propagate to Amazon EC2 instances. This parameter is required.this@Stability(value=Experimental) public EmrCreateCluster.Builder visibleToAllUsers(Boolean visibleToAllUsers)
Default: true
EXPERIMENTAL
visibleToAllUsers - A value of true indicates that all IAM users in the AWS account can perform cluster actions if they have the proper IAM policy permissions. This parameter is required.this@Stability(value=Experimental) public EmrCreateCluster build()
Copyright © 2020. All rights reserved.