CopyableBuilder<Instance.Builder,Instance>
, SdkBuilder<Instance.Builder,Instance>
public static interface Instance.Builder extends CopyableBuilder<Instance.Builder,Instance>
Modifier and Type | Method | Description |
---|---|---|
Instance.Builder |
ebsVolumes(Collection<EbsVolume> ebsVolumes) |
The list of EBS volumes that are attached to this instance.
|
Instance.Builder |
ebsVolumes(EbsVolume... ebsVolumes) |
The list of EBS volumes that are attached to this instance.
|
Instance.Builder |
ec2InstanceId(String ec2InstanceId) |
The unique identifier of the instance in Amazon EC2.
|
Instance.Builder |
id(String id) |
The unique identifier for the instance in Amazon EMR.
|
Instance.Builder |
instanceFleetId(String instanceFleetId) |
The unique identifier of the instance fleet to which an EC2 instance belongs.
|
Instance.Builder |
instanceGroupId(String instanceGroupId) |
The identifier of the instance group to which this instance belongs.
|
Instance.Builder |
instanceType(String instanceType) |
The EC2 instance type, for example
m3.xlarge . |
Instance.Builder |
market(String market) |
The instance purchasing option.
|
Instance.Builder |
market(MarketType market) |
The instance purchasing option.
|
Instance.Builder |
privateDnsName(String privateDnsName) |
The private DNS name of the instance.
|
Instance.Builder |
privateIpAddress(String privateIpAddress) |
The private IP address of the instance.
|
Instance.Builder |
publicDnsName(String publicDnsName) |
The public DNS name of the instance.
|
Instance.Builder |
publicIpAddress(String publicIpAddress) |
The public IP address of the instance.
|
Instance.Builder |
status(InstanceStatus status) |
The current status of the instance.
|
copy
apply, build
Instance.Builder id(String id)
The unique identifier for the instance in Amazon EMR.
id
- The unique identifier for the instance in Amazon EMR.Instance.Builder ec2InstanceId(String ec2InstanceId)
The unique identifier of the instance in Amazon EC2.
ec2InstanceId
- The unique identifier of the instance in Amazon EC2.Instance.Builder publicDnsName(String publicDnsName)
The public DNS name of the instance.
publicDnsName
- The public DNS name of the instance.Instance.Builder publicIpAddress(String publicIpAddress)
The public IP address of the instance.
publicIpAddress
- The public IP address of the instance.Instance.Builder privateDnsName(String privateDnsName)
The private DNS name of the instance.
privateDnsName
- The private DNS name of the instance.Instance.Builder privateIpAddress(String privateIpAddress)
The private IP address of the instance.
privateIpAddress
- The private IP address of the instance.Instance.Builder status(InstanceStatus status)
The current status of the instance.
status
- The current status of the instance.Instance.Builder instanceGroupId(String instanceGroupId)
The identifier of the instance group to which this instance belongs.
instanceGroupId
- The identifier of the instance group to which this instance belongs.Instance.Builder instanceFleetId(String instanceFleetId)
The unique identifier of the instance fleet to which an EC2 instance belongs.
instanceFleetId
- The unique identifier of the instance fleet to which an EC2 instance belongs.Instance.Builder market(String market)
The instance purchasing option. Valid values are ON_DEMAND
or SPOT
.
market
- The instance purchasing option. Valid values are ON_DEMAND
or SPOT
.MarketType
Instance.Builder market(MarketType market)
The instance purchasing option. Valid values are ON_DEMAND
or SPOT
.
market
- The instance purchasing option. Valid values are ON_DEMAND
or SPOT
.MarketType
Instance.Builder instanceType(String instanceType)
The EC2 instance type, for example m3.xlarge
.
instanceType
- The EC2 instance type, for example m3.xlarge
.Instance.Builder ebsVolumes(Collection<EbsVolume> ebsVolumes)
The list of EBS volumes that are attached to this instance.
ebsVolumes
- The list of EBS volumes that are attached to this instance.Instance.Builder ebsVolumes(EbsVolume... ebsVolumes)
The list of EBS volumes that are attached to this instance.
NOTE: This method appends the values to the existing list (if any). Use
#setEbsVolumes(java.util.Collection)
or #withEbsVolumes(java.util.Collection)
if you want to
override the existing values.
ebsVolumes
- The list of EBS volumes that are attached to this instance.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.