@Generated(value="software.amazon.awssdk:codegen") public final class InstanceHardware extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceHardware.Builder,InstanceHardware>
Describes the hardware for the instance.
Modifier and Type | Class and Description |
---|---|
static interface |
InstanceHardware.Builder |
Modifier and Type | Method and Description |
---|---|
static InstanceHardware.Builder |
builder() |
Integer |
cpuCount()
The number of vCPUs the instance has.
|
List<Disk> |
disks()
The disks attached to the instance.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Float |
ramSizeInGb()
The amount of RAM in GB on the instance (e.g.,
1.0 ). |
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceHardware.Builder> |
serializableBuilderClass() |
InstanceHardware.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Integer cpuCount()
The number of vCPUs the instance has.
public List<Disk> disks()
The disks attached to the instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Float ramSizeInGb()
The amount of RAM in GB on the instance (e.g., 1.0
).
1.0
).public InstanceHardware.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceHardware.Builder,InstanceHardware>
public static InstanceHardware.Builder builder()
public static Class<? extends InstanceHardware.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.