Class HostProperties
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.HostProperties
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<HostProperties.Builder,HostProperties>
@Generated("software.amazon.awssdk:codegen") public final class HostProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HostProperties.Builder,HostProperties>
Describes the properties of a Dedicated Host.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
HostProperties.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
cores
public final Integer cores()
The number of cores on the Dedicated Host.
- Returns:
- The number of cores on the Dedicated Host.
-
instanceType
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.- Returns:
- The instance type supported by the Dedicated Host. For example,
m5.large
. If the host supports multiple instance types, no instanceType is returned.
-
instanceFamily
public final String instanceFamily()
The instance family supported by the Dedicated Host. For example,
m5
.- Returns:
- The instance family supported by the Dedicated Host. For example,
m5
.
-
sockets
public final Integer sockets()
The number of sockets on the Dedicated Host.
- Returns:
- The number of sockets on the Dedicated Host.
-
totalVCpus
public final Integer totalVCpus()
The total number of vCPUs on the Dedicated Host.
- Returns:
- The total number of vCPUs on the Dedicated Host.
-
toBuilder
public HostProperties.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<HostProperties.Builder,HostProperties>
-
builder
public static HostProperties.Builder builder()
-
serializableBuilderClass
public static Class<? extends HostProperties.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-