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(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 ). |
copy
apply, build
InstanceHardware.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 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.