@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() |
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.