@Generated(value="software.amazon.awssdk:codegen") public final class HostProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HostProperties.Builder,HostProperties>
Describes the properties of a Dedicated Host.
Modifier and Type | Class and Description |
---|---|
static interface |
HostProperties.Builder |
Modifier and Type | Method and Description |
---|---|
static HostProperties.Builder |
builder() |
Integer |
cores()
The number of cores on the Dedicated Host.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceFamily()
The instance family supported by the Dedicated Host.
|
String |
instanceType()
The instance type supported by the Dedicated Host.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends HostProperties.Builder> |
serializableBuilderClass() |
Integer |
sockets()
The number of sockets on the Dedicated Host.
|
HostProperties.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
totalVCpus()
The total number of vCPUs on the Dedicated Host.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final Integer cores()
The number of cores on the Dedicated Host.
public final String instanceType()
The instance type supported by the Dedicated Host. For example, m5.large
. If the host supports
multiple instance types, no instanceType is returned.
m5.large
. If the host
supports multiple instance types, no instanceType is returned.public final String instanceFamily()
The instance family supported by the Dedicated Host. For example, m5
.
m5
.public final Integer sockets()
The number of sockets on the Dedicated Host.
public final Integer totalVCpus()
The total number of vCPUs on the Dedicated Host.
public HostProperties.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<HostProperties.Builder,HostProperties>
public static HostProperties.Builder builder()
public static Class<? extends HostProperties.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.