public static interface InstanceHardware.Builder extends CopyableBuilder<InstanceHardware.Builder,InstanceHardware>
| Modifier and Type | Method and Description |
|---|---|
InstanceHardware.Builder |
cpuCount(Integer cpuCount)
The number of vCPUs the instance has.
|
InstanceHardware.Builder |
disks(Collection<Disk> disks)
The disks attached to the instance.
|
InstanceHardware.Builder |
disks(Consumer<Disk.Builder>... disks)
The disks attached to the instance.
|
InstanceHardware.Builder |
disks(Disk... disks)
The disks attached to the instance.
|
InstanceHardware.Builder |
ramSizeInGb(Float ramSizeInGb)
The amount of RAM in GB on the instance (e.g.,
1.0). |
copyapply, buildInstanceHardware.Builder cpuCount(Integer cpuCount)
The number of vCPUs the instance has.
cpuCount - The number of vCPUs the instance has.InstanceHardware.Builder disks(Collection<Disk> disks)
The disks attached to the instance.
disks - The disks attached to the instance.InstanceHardware.Builder disks(Disk... disks)
The disks attached to the instance.
disks - The disks attached to the instance.InstanceHardware.Builder disks(Consumer<Disk.Builder>... disks)
The disks attached to the 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 #disks(List) .disks - a consumer that will call methods on List.Builder #disks(List) InstanceHardware.Builder ramSizeInGb(Float ramSizeInGb)
The amount of RAM in GB on the instance (e.g., 1.0).
ramSizeInGb - The amount of RAM in GB on the instance (e.g., 1.0).Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.