@Stability(value=Experimental) @Internal public static final class EmrCreateCluster.InstancesConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EmrCreateCluster.InstancesConfigProperty
EmrCreateCluster.InstancesConfigPropertysoftware.amazon.jsii.JsiiObject.InitializationModeEmrCreateCluster.InstancesConfigProperty.Builder, EmrCreateCluster.InstancesConfigProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(List<String> additionalMasterSecurityGroups,
List<String> additionalSlaveSecurityGroups,
String ec2KeyName,
String ec2SubnetId,
List<String> ec2SubnetIds,
String emrManagedMasterSecurityGroup,
String emrManagedSlaveSecurityGroup,
String hadoopVersion,
Number instanceCount,
List<? extends EmrCreateCluster.InstanceFleetConfigProperty> instanceFleets,
List<? extends EmrCreateCluster.InstanceGroupConfigProperty> instanceGroups,
String masterInstanceType,
EmrCreateCluster.PlacementTypeProperty placement,
String serviceAccessSecurityGroup,
String slaveInstanceType,
Boolean terminationProtected)
Constructor that initializes the object based on literal property values passed by the
EmrCreateCluster.ApplicationConfigProperty.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<String> |
getAdditionalMasterSecurityGroups()
(experimental) A list of additional Amazon EC2 security group IDs for the master node.
|
List<String> |
getAdditionalSlaveSecurityGroups()
(experimental) A list of additional Amazon EC2 security group IDs for the core and task nodes.
|
String |
getEc2KeyName()
(experimental) The name of the EC2 key pair that can be used to ssh to the master node as the user called "hadoop.".
|
String |
getEc2SubnetId()
(experimental) Applies to clusters that use the uniform instance group configuration.
|
List<String> |
getEc2SubnetIds()
(experimental) Applies to clusters that use the instance fleet configuration.
|
String |
getEmrManagedMasterSecurityGroup()
(experimental) The identifier of the Amazon EC2 security group for the master node.
|
String |
getEmrManagedSlaveSecurityGroup()
(experimental) The identifier of the Amazon EC2 security group for the core and task nodes.
|
String |
getHadoopVersion()
(experimental) Applies only to Amazon EMR release versions earlier than 4.0.
|
Number |
getInstanceCount()
(experimental) The number of EC2 instances in the cluster.
|
List<EmrCreateCluster.InstanceFleetConfigProperty> |
getInstanceFleets()
(experimental) Describes the EC2 instances and instance configurations for clusters that use the instance fleet configuration.
|
List<EmrCreateCluster.InstanceGroupConfigProperty> |
getInstanceGroups()
(experimental) Configuration for the instance groups in a cluster.
|
String |
getMasterInstanceType()
(experimental) The EC2 instance type of the master node.
|
EmrCreateCluster.PlacementTypeProperty |
getPlacement()
(experimental) The Availability Zone in which the cluster runs.
|
String |
getServiceAccessSecurityGroup()
(experimental) The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.
|
String |
getSlaveInstanceType()
(experimental) The EC2 instance type of the core and task nodes.
|
Boolean |
getTerminationProtected()
(experimental) Specifies whether to lock the cluster to prevent the Amazon EC2 instances from being terminated by API call, user intervention, or in the event of a job-flow error.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(List<String> additionalMasterSecurityGroups, List<String> additionalSlaveSecurityGroups, String ec2KeyName, String ec2SubnetId, List<String> ec2SubnetIds, String emrManagedMasterSecurityGroup, String emrManagedSlaveSecurityGroup, String hadoopVersion, Number instanceCount, List<? extends EmrCreateCluster.InstanceFleetConfigProperty> instanceFleets, List<? extends EmrCreateCluster.InstanceGroupConfigProperty> instanceGroups, String masterInstanceType, EmrCreateCluster.PlacementTypeProperty placement, String serviceAccessSecurityGroup, String slaveInstanceType, Boolean terminationProtected)
EmrCreateCluster.ApplicationConfigProperty.Builder.public final List<String> getAdditionalMasterSecurityGroups()
EmrCreateCluster.InstancesConfigPropertyDefault: - None
getAdditionalMasterSecurityGroups in interface EmrCreateCluster.InstancesConfigPropertypublic final List<String> getAdditionalSlaveSecurityGroups()
EmrCreateCluster.InstancesConfigPropertyDefault: - None
getAdditionalSlaveSecurityGroups in interface EmrCreateCluster.InstancesConfigPropertypublic final String getEc2KeyName()
EmrCreateCluster.InstancesConfigPropertyDefault: - None
getEc2KeyName in interface EmrCreateCluster.InstancesConfigPropertypublic final String getEc2SubnetId()
EmrCreateCluster.InstancesConfigPropertyTo launch the cluster in Amazon Virtual Private Cloud (Amazon VPC), set this parameter to the identifier of the Amazon VPC subnet where you want the cluster to launch.
Default: EMR selected default
getEc2SubnetId in interface EmrCreateCluster.InstancesConfigPropertypublic final List<String> getEc2SubnetIds()
EmrCreateCluster.InstancesConfigPropertyWhen multiple EC2 subnet IDs are specified, Amazon EMR evaluates them and launches instances in the optimal subnet.
Default: EMR selected default
getEc2SubnetIds in interface EmrCreateCluster.InstancesConfigPropertypublic final String getEmrManagedMasterSecurityGroup()
EmrCreateCluster.InstancesConfigPropertyDefault: - None
getEmrManagedMasterSecurityGroup in interface EmrCreateCluster.InstancesConfigPropertypublic final String getEmrManagedSlaveSecurityGroup()
EmrCreateCluster.InstancesConfigPropertyDefault: - None
getEmrManagedSlaveSecurityGroup in interface EmrCreateCluster.InstancesConfigPropertypublic final String getHadoopVersion()
EmrCreateCluster.InstancesConfigPropertyDefault: - 0.18 if the AmiVersion parameter is not set. If AmiVersion is set, the version of Hadoop for that AMI version is used.
getHadoopVersion in interface EmrCreateCluster.InstancesConfigPropertypublic final Number getInstanceCount()
EmrCreateCluster.InstancesConfigPropertyDefault: 0
getInstanceCount in interface EmrCreateCluster.InstancesConfigPropertypublic final List<EmrCreateCluster.InstanceFleetConfigProperty> getInstanceFleets()
EmrCreateCluster.InstancesConfigPropertyThe instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
Default: - None
getInstanceFleets in interface EmrCreateCluster.InstancesConfigPropertypublic final List<EmrCreateCluster.InstanceGroupConfigProperty> getInstanceGroups()
EmrCreateCluster.InstancesConfigPropertyDefault: - None
getInstanceGroups in interface EmrCreateCluster.InstancesConfigPropertypublic final String getMasterInstanceType()
EmrCreateCluster.InstancesConfigPropertyDefault: - None
getMasterInstanceType in interface EmrCreateCluster.InstancesConfigPropertypublic final EmrCreateCluster.PlacementTypeProperty getPlacement()
EmrCreateCluster.InstancesConfigPropertyDefault: - EMR selected default
getPlacement in interface EmrCreateCluster.InstancesConfigPropertypublic final String getServiceAccessSecurityGroup()
EmrCreateCluster.InstancesConfigPropertyDefault: - None
getServiceAccessSecurityGroup in interface EmrCreateCluster.InstancesConfigPropertypublic final String getSlaveInstanceType()
EmrCreateCluster.InstancesConfigPropertyDefault: - None
getSlaveInstanceType in interface EmrCreateCluster.InstancesConfigPropertypublic final Boolean getTerminationProtected()
EmrCreateCluster.InstancesConfigPropertyDefault: false
getTerminationProtected in interface EmrCreateCluster.InstancesConfigProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.