CopyableBuilder<InstanceHardware.Builder,InstanceHardware>
, SdkBuilder<InstanceHardware.Builder,InstanceHardware>
public static interface InstanceHardware.Builder extends CopyableBuilder<InstanceHardware.Builder,InstanceHardware>
Modifier and Type | Method | 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.
NOTE: This method appends the values to the existing list (if any). Use
#setDisks(java.util.Collection)
or #withDisks(java.util.Collection)
if you want to override
the existing values.
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.