StructuredPojo
, ToCopyableBuilder<Ec2InstanceAttributes.Builder,Ec2InstanceAttributes>
@Generated("software.amazon.awssdk:codegen") public class Ec2InstanceAttributes extends Object implements StructuredPojo, ToCopyableBuilder<Ec2InstanceAttributes.Builder,Ec2InstanceAttributes>
Provides information about the EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Ec2InstanceAttributes.Builder |
Modifier and Type | Method | Description |
---|---|---|
List<String> |
additionalMasterSecurityGroups() |
A list of additional Amazon EC2 security group IDs for the master node.
|
List<String> |
additionalSlaveSecurityGroups() |
A list of additional Amazon EC2 security group IDs for the slave nodes.
|
static Ec2InstanceAttributes.Builder |
builder() |
|
String |
ec2AvailabilityZone() |
The Availability Zone in which the cluster will run.
|
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".
|
String |
ec2SubnetId() |
To launch the cluster in Amazon VPC, set this parameter to the identifier of the Amazon VPC subnet where you want
the cluster to launch.
|
String |
emrManagedMasterSecurityGroup() |
The identifier of the Amazon EC2 security group for the master node.
|
String |
emrManagedSlaveSecurityGroup() |
The identifier of the Amazon EC2 security group for the slave nodes.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
iamInstanceProfile() |
The IAM role that was specified when the cluster was launched.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
List<String> |
requestedEc2AvailabilityZones() |
Applies to clusters configured with the The list of availability zones to choose from.
|
List<String> |
requestedEc2SubnetIds() |
Applies to clusters configured with the instance fleets option.
|
static Class<? extends Ec2InstanceAttributes.Builder> |
serializableBuilderClass() |
|
String |
serviceAccessSecurityGroup() |
The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private
subnets.
|
Ec2InstanceAttributes.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public 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".
public String ec2SubnetId()
To launch the cluster in Amazon VPC, 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, the cluster is launched in the normal AWS cloud, outside of a VPC.
Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus, you cannot specify the cc1.4xlarge instance type for nodes of a cluster launched in a VPC.
Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus, you cannot specify the cc1.4xlarge instance type for nodes of a cluster launched in a VPC.
public List<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. Amazon EMR chooses the EC2 subnet with the best performance and cost characteristics from among the list of RequestedEc2SubnetIds and launches all cluster instances within that subnet. If this value is not specified, and the account supports EC2-Classic networks, the cluster launches instances in the EC2-Classic network and uses Requested
public String ec2AvailabilityZone()
The Availability Zone in which the cluster will run.
public List<String> requestedEc2AvailabilityZones()
Applies to clusters configured with the The list of availability zones to choose from. The service will choose the availability zone with the best mix of available capacity and lowest cost to launch the cluster. If you do not specify this value, the cluster is launched in any availability zone that the customer account has access to.
public String iamInstanceProfile()
The IAM role that was specified when the cluster was launched. The EC2 instances of the cluster assume this role.
public String emrManagedMasterSecurityGroup()
The identifier of the Amazon EC2 security group for the master node.
public String emrManagedSlaveSecurityGroup()
The identifier of the Amazon EC2 security group for the slave nodes.
public String serviceAccessSecurityGroup()
The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.
public List<String> additionalMasterSecurityGroups()
A list of additional Amazon EC2 security group IDs for the master node.
public List<String> additionalSlaveSecurityGroups()
A list of additional Amazon EC2 security group IDs for the slave nodes.
public Ec2InstanceAttributes.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Ec2InstanceAttributes.Builder,Ec2InstanceAttributes>
public static Ec2InstanceAttributes.Builder builder()
public static Class<? extends Ec2InstanceAttributes.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.