public static interface Instance.Builder extends SdkPojo, CopyableBuilder<Instance.Builder,Instance>
| Modifier and Type | Method and Description |
|---|---|
Instance.Builder |
ebsVolumes(Collection<EbsVolume> ebsVolumes)
The list of Amazon EBS volumes that are attached to this instance.
|
Instance.Builder |
ebsVolumes(Consumer<EbsVolume.Builder>... ebsVolumes)
The list of Amazon EBS volumes that are attached to this instance.
|
Instance.Builder |
ebsVolumes(EbsVolume... ebsVolumes)
The list of Amazon 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 Amazon 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 Amazon 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, 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 method 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 Amazon EC2 instance belongs.
instanceFleetId - The unique identifier of the instance fleet to which an Amazon 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 Amazon EC2 instance type, for example m3.xlarge.
instanceType - The Amazon EC2 instance type, for example m3.xlarge.Instance.Builder ebsVolumes(Collection<EbsVolume> ebsVolumes)
The list of Amazon EBS volumes that are attached to this instance.
ebsVolumes - The list of Amazon EBS volumes that are attached to this instance.Instance.Builder ebsVolumes(EbsVolume... ebsVolumes)
The list of Amazon EBS volumes that are attached to this instance.
ebsVolumes - The list of Amazon EBS volumes that are attached to this instance.Instance.Builder ebsVolumes(Consumer<EbsVolume.Builder>... ebsVolumes)
The list of Amazon EBS volumes that are attached to this instance.
This is a convenience method that creates an instance of theEbsVolume.Builder avoiding the need to create one manually
via EbsVolume.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #ebsVolumes(List.
ebsVolumes - a consumer that will call methods on
EbsVolume.Builder#ebsVolumes(java.util.Collection) Copyright © 2023. All rights reserved.