StructuredPojo
, ToCopyableBuilder<InstanceHardware.Builder,InstanceHardware>
@Generated("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 | Description |
---|---|---|
static interface |
InstanceHardware.Builder |
Modifier and Type | Method | 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) |
|
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() |
public Integer cpuCount()
The number of vCPUs the instance has.
public List<Disk> disks()
The disks attached to the instance.
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.