public static interface ScheduledInstancesBlockDeviceMapping.Builder extends SdkPojo, CopyableBuilder<ScheduledInstancesBlockDeviceMapping.Builder,ScheduledInstancesBlockDeviceMapping>
Modifier and Type | Method and Description |
---|---|
ScheduledInstancesBlockDeviceMapping.Builder |
deviceName(String deviceName)
The device name (for example,
/dev/sdh or xvdh ). |
default ScheduledInstancesBlockDeviceMapping.Builder |
ebs(Consumer<ScheduledInstancesEbs.Builder> ebs)
Parameters used to set up EBS volumes automatically when the instance is launched.
|
ScheduledInstancesBlockDeviceMapping.Builder |
ebs(ScheduledInstancesEbs ebs)
Parameters used to set up EBS volumes automatically when the instance is launched.
|
ScheduledInstancesBlockDeviceMapping.Builder |
noDevice(String noDevice)
Suppresses the specified device included in the block device mapping of the AMI.
|
ScheduledInstancesBlockDeviceMapping.Builder |
virtualName(String virtualName)
The virtual device name (
ephemeral N). |
equalsBySdkFields, sdkFields
copy
applyMutation, build
ScheduledInstancesBlockDeviceMapping.Builder deviceName(String deviceName)
The device name (for example, /dev/sdh
or xvdh
).
deviceName
- The device name (for example, /dev/sdh
or xvdh
).ScheduledInstancesBlockDeviceMapping.Builder ebs(ScheduledInstancesEbs ebs)
Parameters used to set up EBS volumes automatically when the instance is launched.
ebs
- Parameters used to set up EBS volumes automatically when the instance is launched.default ScheduledInstancesBlockDeviceMapping.Builder ebs(Consumer<ScheduledInstancesEbs.Builder> ebs)
Parameters used to set up EBS volumes automatically when the instance is launched.
This is a convenience that creates an instance of theScheduledInstancesEbs.Builder
avoiding the need
to create one manually via ScheduledInstancesEbs.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to ebs(ScheduledInstancesEbs)
.ebs
- a consumer that will call methods on ScheduledInstancesEbs.Builder
ebs(ScheduledInstancesEbs)
ScheduledInstancesBlockDeviceMapping.Builder noDevice(String noDevice)
Suppresses the specified device included in the block device mapping of the AMI.
noDevice
- Suppresses the specified device included in the block device mapping of the AMI.ScheduledInstancesBlockDeviceMapping.Builder virtualName(String virtualName)
The virtual device name (ephemeral
N). Instance store volumes are numbered starting from 0. An
instance type with two available instance store volumes can specify mappings for ephemeral0
and
ephemeral1
. The number of available instance store volumes depends on the instance type. After
you connect to the instance, you must mount the volume.
Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.
virtualName
- The virtual device name (ephemeral
N). Instance store volumes are numbered starting from
0. An instance type with two available instance store volumes can specify mappings for
ephemeral0
and ephemeral1
. The number of available instance store volumes
depends on the instance type. After you connect to the instance, you must mount the volume.
Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.
Copyright © 2020. All rights reserved.