public static interface Instance.Builder extends CopyableBuilder<Instance.Builder,Instance>
| Modifier and Type | Method and Description |
|---|---|
Instance.Builder |
ebsVolumes(Collection<EbsVolume> ebsVolumes)
The list of EBS volumes that are attached to this instance.
|
Instance.Builder |
ebsVolumes(Consumer<EbsVolume.Builder>... 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(MarketType market)
The instance purchasing option.
|
Instance.Builder |
market(String 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.
|
default Instance.Builder |
status(Consumer<InstanceStatus.Builder> status)
The current status of the instance.
|
Instance.Builder |
status(InstanceStatus status)
The current status of the instance.
|
copyapply, buildInstance.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.default Instance.Builder status(Consumer<InstanceStatus.Builder> status)
The current status of the instance.
This is a convenience that creates an instance of theInstanceStatus.Builder avoiding the need to
create one manually via InstanceStatus.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to status(InstanceStatus).status - a consumer that will call methods on InstanceStatus.Builderstatus(InstanceStatus)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,
MarketTypeInstance.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,
MarketTypeInstance.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.
ebsVolumes - The list of EBS volumes that are attached to this instance.Instance.Builder ebsVolumes(Consumer<EbsVolume.Builder>... ebsVolumes)
The list of EBS volumes that are attached to this instance.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #ebsVolumes(List) .ebsVolumes - a consumer that will call methods on List.Builder #ebsVolumes(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.