| Package | Description |
|---|---|
| com.amazonaws.services.lightsail.model |
| Modifier and Type | Method and Description |
|---|---|
InstanceHardware |
InstanceHardware.clone() |
InstanceHardware |
Instance.getHardware()
The size of the vCPU and the amount of RAM for the instance.
|
InstanceHardware |
InstanceHardware.withCpuCount(Integer cpuCount)
The number of vCPUs the instance has.
|
InstanceHardware |
InstanceHardware.withDisks(Collection<Disk> disks)
The disks attached to the instance.
|
InstanceHardware |
InstanceHardware.withDisks(Disk... disks)
The disks attached to the instance.
|
InstanceHardware |
InstanceHardware.withRamSizeInGb(Float ramSizeInGb)
The amount of RAM in GB on the instance (e.g.,
1.0). |
| Modifier and Type | Method and Description |
|---|---|
void |
Instance.setHardware(InstanceHardware hardware)
The size of the vCPU and the amount of RAM for the instance.
|
Instance |
Instance.withHardware(InstanceHardware hardware)
The size of the vCPU and the amount of RAM for the instance.
|
Copyright © 2020. All rights reserved.