@Generated(value="software.amazon.awssdk:codegen") public class InstanceHardware extends Object implements StructuredPojo, 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() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
Float |
ramSizeInGb()
The amount of RAM in GB on the instance (e.g.,
1.0). |
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() |
copypublic 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<InstanceHardware.Builder,InstanceHardware>public static InstanceHardware.Builder builder()
public static Class<? extends InstanceHardware.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.