@Stability(value=Experimental) public static final class EmrCreateClusterProps.Builder extends Object
EmrCreateClusterProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public EmrCreateClusterProps.Builder instances(EmrCreateCluster.InstancesConfigProperty instances)
EmrCreateClusterProps.getInstances()instances - A specification of the number and type of Amazon EC2 instances. This parameter is required.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder name(String name)
EmrCreateClusterProps.getName()name - The Name of the Cluster. This parameter is required.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder additionalInfo(String additionalInfo)
EmrCreateClusterProps.getAdditionalInfo()additionalInfo - A JSON string for selecting additional features.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder applications(List<EmrCreateCluster.ApplicationConfigProperty> applications)
EmrCreateClusterProps.getApplications()applications - A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder autoScalingRole(IRole autoScalingRole)
EmrCreateClusterProps.getAutoScalingRole()autoScalingRole - An IAM role for automatic scaling policies.
A Role will be created if one is not provided.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder bootstrapActions(List<EmrCreateCluster.BootstrapActionConfigProperty> bootstrapActions)
EmrCreateClusterProps.getBootstrapActions()bootstrapActions - A list of bootstrap actions to run before Hadoop starts on the cluster nodes.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder clusterRole(IRole clusterRole)
EmrCreateClusterProps.getClusterRole()clusterRole - Also called instance profile and EC2 role.
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.
this@Stability(value=Experimental) public EmrCreateClusterProps.Builder configurations(List<EmrCreateCluster.ConfigurationProperty> configurations)
EmrCreateClusterProps.getConfigurations()configurations - The list of configurations supplied for the EMR cluster you are creating.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder customAmiId(String customAmiId)
EmrCreateClusterProps.getCustomAmiId()customAmiId - The ID of a custom Amazon EBS-backed Linux AMI.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder ebsRootVolumeSize(Number ebsRootVolumeSize)
EmrCreateClusterProps.getEbsRootVolumeSize()ebsRootVolumeSize - The size, in GiB, of the EBS root device volume of the Linux AMI that is used for each EC2 instance.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder integrationPattern(ServiceIntegrationPattern integrationPattern)
EmrCreateClusterProps.getIntegrationPattern()integrationPattern - The service integration pattern indicates different ways to call CreateCluster.
The valid value is either FIRE_AND_FORGET or SYNC.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder kerberosAttributes(EmrCreateCluster.KerberosAttributesProperty kerberosAttributes)
EmrCreateClusterProps.getKerberosAttributes()kerberosAttributes - Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder logUri(String logUri)
EmrCreateClusterProps.getLogUri()logUri - The location in Amazon S3 to write the log files of the job flow.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder releaseLabel(String releaseLabel)
EmrCreateClusterProps.getReleaseLabel()releaseLabel - The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder scaleDownBehavior(EmrCreateCluster.EmrClusterScaleDownBehavior scaleDownBehavior)
EmrCreateClusterProps.getScaleDownBehavior()scaleDownBehavior - Specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder securityConfiguration(String securityConfiguration)
EmrCreateClusterProps.getSecurityConfiguration()securityConfiguration - The name of a security configuration to apply to the cluster.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder serviceRole(IRole serviceRole)
EmrCreateClusterProps.getServiceRole()serviceRole - The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
A Role will be created if
one is not provided.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder tags(List<CfnTag> tags)
EmrCreateClusterProps.getTags()tags - A list of tags to associate with a cluster and propagate to Amazon EC2 instances.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder visibleToAllUsers(Boolean visibleToAllUsers)
EmrCreateClusterProps.getVisibleToAllUsers()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@Stability(value=Experimental) public EmrCreateClusterProps build()
EmrCreateClusterPropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.