public static interface Ec2InstanceAttributes.Builder extends SdkPojo, CopyableBuilder<Ec2InstanceAttributes.Builder,Ec2InstanceAttributes>
Modifier and Type | Method and Description |
---|---|
Ec2InstanceAttributes.Builder |
additionalMasterSecurityGroups(Collection<String> additionalMasterSecurityGroups)
A list of additional Amazon EC2 security group IDs for the master node.
|
Ec2InstanceAttributes.Builder |
additionalMasterSecurityGroups(String... additionalMasterSecurityGroups)
A list of additional Amazon EC2 security group IDs for the master node.
|
Ec2InstanceAttributes.Builder |
additionalSlaveSecurityGroups(Collection<String> additionalSlaveSecurityGroups)
A list of additional Amazon EC2 security group IDs for the core and task nodes.
|
Ec2InstanceAttributes.Builder |
additionalSlaveSecurityGroups(String... additionalSlaveSecurityGroups)
A list of additional Amazon EC2 security group IDs for the core and task nodes.
|
Ec2InstanceAttributes.Builder |
ec2AvailabilityZone(String ec2AvailabilityZone)
The Availability Zone in which the cluster will run.
|
Ec2InstanceAttributes.Builder |
ec2KeyName(String ec2KeyName)
The name of the Amazon EC2 key pair to use when connecting with SSH into the master node as a user named
"hadoop".
|
Ec2InstanceAttributes.Builder |
ec2SubnetId(String ec2SubnetId)
Set this parameter to the identifier of the Amazon VPC subnet where you want the cluster to launch.
|
Ec2InstanceAttributes.Builder |
emrManagedMasterSecurityGroup(String emrManagedMasterSecurityGroup)
The identifier of the Amazon EC2 security group for the master node.
|
Ec2InstanceAttributes.Builder |
emrManagedSlaveSecurityGroup(String emrManagedSlaveSecurityGroup)
The identifier of the Amazon EC2 security group for the core and task nodes.
|
Ec2InstanceAttributes.Builder |
iamInstanceProfile(String iamInstanceProfile)
The IAM role that was specified when the cluster was launched.
|
Ec2InstanceAttributes.Builder |
requestedEc2AvailabilityZones(Collection<String> requestedEc2AvailabilityZones)
Applies to clusters configured with the instance fleets option.
|
Ec2InstanceAttributes.Builder |
requestedEc2AvailabilityZones(String... requestedEc2AvailabilityZones)
Applies to clusters configured with the instance fleets option.
|
Ec2InstanceAttributes.Builder |
requestedEc2SubnetIds(Collection<String> requestedEc2SubnetIds)
Applies to clusters configured with the instance fleets option.
|
Ec2InstanceAttributes.Builder |
requestedEc2SubnetIds(String... requestedEc2SubnetIds)
Applies to clusters configured with the instance fleets option.
|
Ec2InstanceAttributes.Builder |
serviceAccessSecurityGroup(String serviceAccessSecurityGroup)
The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private
subnets.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Ec2InstanceAttributes.Builder ec2KeyName(String ec2KeyName)
The name of the Amazon EC2 key pair to use when connecting with SSH into the master node as a user named "hadoop".
ec2KeyName
- The name of the Amazon EC2 key pair to use when connecting with SSH into the master node as a user
named "hadoop".Ec2InstanceAttributes.Builder ec2SubnetId(String ec2SubnetId)
Set this parameter to the identifier of the Amazon VPC subnet where you want the cluster to launch. If you do not specify this value, and your account supports EC2-Classic, the cluster launches in EC2-Classic.
ec2SubnetId
- Set this parameter to the identifier of the Amazon VPC subnet where you want the cluster to launch. If
you do not specify this value, and your account supports EC2-Classic, the cluster launches in
EC2-Classic.Ec2InstanceAttributes.Builder requestedEc2SubnetIds(Collection<String> requestedEc2SubnetIds)
Applies to clusters configured with the instance fleets option. Specifies the unique identifier of one or
more Amazon EC2 subnets in which to launch EC2 cluster instances. Subnets must exist within the same VPC.
Amazon EMR chooses the EC2 subnet with the best fit from among the list of RequestedEc2SubnetIds
, and then launches all cluster instances within that Subnet. If this value is not specified, and the account
and Region support EC2-Classic networks, the cluster launches instances in the EC2-Classic network and uses
RequestedEc2AvailabilityZones
instead of this setting. If EC2-Classic is not supported, and no
Subnet is specified, Amazon EMR chooses the subnet for you. RequestedEc2SubnetIDs
and
RequestedEc2AvailabilityZones
cannot be specified together.
requestedEc2SubnetIds
- Applies to clusters configured with the instance fleets option. Specifies the unique identifier of one
or more Amazon EC2 subnets in which to launch EC2 cluster instances. Subnets must exist within the
same VPC. Amazon EMR chooses the EC2 subnet with the best fit from among the list of
RequestedEc2SubnetIds
, and then launches all cluster instances within that Subnet. If
this value is not specified, and the account and Region support EC2-Classic networks, the cluster
launches instances in the EC2-Classic network and uses RequestedEc2AvailabilityZones
instead of this setting. If EC2-Classic is not supported, and no Subnet is specified, Amazon EMR
chooses the subnet for you. RequestedEc2SubnetIDs
and
RequestedEc2AvailabilityZones
cannot be specified together.Ec2InstanceAttributes.Builder requestedEc2SubnetIds(String... requestedEc2SubnetIds)
Applies to clusters configured with the instance fleets option. Specifies the unique identifier of one or
more Amazon EC2 subnets in which to launch EC2 cluster instances. Subnets must exist within the same VPC.
Amazon EMR chooses the EC2 subnet with the best fit from among the list of RequestedEc2SubnetIds
, and then launches all cluster instances within that Subnet. If this value is not specified, and the account
and Region support EC2-Classic networks, the cluster launches instances in the EC2-Classic network and uses
RequestedEc2AvailabilityZones
instead of this setting. If EC2-Classic is not supported, and no
Subnet is specified, Amazon EMR chooses the subnet for you. RequestedEc2SubnetIDs
and
RequestedEc2AvailabilityZones
cannot be specified together.
requestedEc2SubnetIds
- Applies to clusters configured with the instance fleets option. Specifies the unique identifier of one
or more Amazon EC2 subnets in which to launch EC2 cluster instances. Subnets must exist within the
same VPC. Amazon EMR chooses the EC2 subnet with the best fit from among the list of
RequestedEc2SubnetIds
, and then launches all cluster instances within that Subnet. If
this value is not specified, and the account and Region support EC2-Classic networks, the cluster
launches instances in the EC2-Classic network and uses RequestedEc2AvailabilityZones
instead of this setting. If EC2-Classic is not supported, and no Subnet is specified, Amazon EMR
chooses the subnet for you. RequestedEc2SubnetIDs
and
RequestedEc2AvailabilityZones
cannot be specified together.Ec2InstanceAttributes.Builder ec2AvailabilityZone(String ec2AvailabilityZone)
The Availability Zone in which the cluster will run.
ec2AvailabilityZone
- The Availability Zone in which the cluster will run.Ec2InstanceAttributes.Builder requestedEc2AvailabilityZones(Collection<String> requestedEc2AvailabilityZones)
Applies to clusters configured with the instance fleets option. Specifies one or more Availability Zones in
which to launch EC2 cluster instances when the EC2-Classic network configuration is supported. Amazon EMR
chooses the Availability Zone with the best fit from among the list of
RequestedEc2AvailabilityZones
, and then launches all cluster instances within that Availability
Zone. If you do not specify this value, Amazon EMR chooses the Availability Zone for you.
RequestedEc2SubnetIDs
and RequestedEc2AvailabilityZones
cannot be specified
together.
requestedEc2AvailabilityZones
- Applies to clusters configured with the instance fleets option. Specifies one or more Availability
Zones in which to launch EC2 cluster instances when the EC2-Classic network configuration is
supported. Amazon EMR chooses the Availability Zone with the best fit from among the list of
RequestedEc2AvailabilityZones
, and then launches all cluster instances within that
Availability Zone. If you do not specify this value, Amazon EMR chooses the Availability Zone for you.
RequestedEc2SubnetIDs
and RequestedEc2AvailabilityZones
cannot be specified
together.Ec2InstanceAttributes.Builder requestedEc2AvailabilityZones(String... requestedEc2AvailabilityZones)
Applies to clusters configured with the instance fleets option. Specifies one or more Availability Zones in
which to launch EC2 cluster instances when the EC2-Classic network configuration is supported. Amazon EMR
chooses the Availability Zone with the best fit from among the list of
RequestedEc2AvailabilityZones
, and then launches all cluster instances within that Availability
Zone. If you do not specify this value, Amazon EMR chooses the Availability Zone for you.
RequestedEc2SubnetIDs
and RequestedEc2AvailabilityZones
cannot be specified
together.
requestedEc2AvailabilityZones
- Applies to clusters configured with the instance fleets option. Specifies one or more Availability
Zones in which to launch EC2 cluster instances when the EC2-Classic network configuration is
supported. Amazon EMR chooses the Availability Zone with the best fit from among the list of
RequestedEc2AvailabilityZones
, and then launches all cluster instances within that
Availability Zone. If you do not specify this value, Amazon EMR chooses the Availability Zone for you.
RequestedEc2SubnetIDs
and RequestedEc2AvailabilityZones
cannot be specified
together.Ec2InstanceAttributes.Builder iamInstanceProfile(String iamInstanceProfile)
The IAM role that was specified when the cluster was launched. The EC2 instances of the cluster assume this role.
iamInstanceProfile
- The IAM role that was specified when the cluster was launched. The EC2 instances of the cluster assume
this role.Ec2InstanceAttributes.Builder emrManagedMasterSecurityGroup(String emrManagedMasterSecurityGroup)
The identifier of the Amazon EC2 security group for the master node.
emrManagedMasterSecurityGroup
- The identifier of the Amazon EC2 security group for the master node.Ec2InstanceAttributes.Builder emrManagedSlaveSecurityGroup(String emrManagedSlaveSecurityGroup)
The identifier of the Amazon EC2 security group for the core and task nodes.
emrManagedSlaveSecurityGroup
- The identifier of the Amazon EC2 security group for the core and task nodes.Ec2InstanceAttributes.Builder serviceAccessSecurityGroup(String serviceAccessSecurityGroup)
The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.
serviceAccessSecurityGroup
- The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC
private subnets.Ec2InstanceAttributes.Builder additionalMasterSecurityGroups(Collection<String> additionalMasterSecurityGroups)
A list of additional Amazon EC2 security group IDs for the master node.
additionalMasterSecurityGroups
- A list of additional Amazon EC2 security group IDs for the master node.Ec2InstanceAttributes.Builder additionalMasterSecurityGroups(String... additionalMasterSecurityGroups)
A list of additional Amazon EC2 security group IDs for the master node.
additionalMasterSecurityGroups
- A list of additional Amazon EC2 security group IDs for the master node.Ec2InstanceAttributes.Builder additionalSlaveSecurityGroups(Collection<String> additionalSlaveSecurityGroups)
A list of additional Amazon EC2 security group IDs for the core and task nodes.
additionalSlaveSecurityGroups
- A list of additional Amazon EC2 security group IDs for the core and task nodes.Ec2InstanceAttributes.Builder additionalSlaveSecurityGroups(String... additionalSlaveSecurityGroups)
A list of additional Amazon EC2 security group IDs for the core and task nodes.
additionalSlaveSecurityGroups
- A list of additional Amazon EC2 security group IDs for the core and task nodes.Copyright © 2022. All rights reserved.