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 interfaceHostProperties.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HostProperties.Builderbuilder()Integercores()The number of cores on the Dedicated Host.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceFamily()The instance family supported by the Dedicated Host.StringinstanceType()The instance type supported by the Dedicated Host.List<SdkField<?>>sdkFields()static Class<? extends HostProperties.Builder>serializableBuilderClass()Integersockets()The number of sockets on the Dedicated Host.HostProperties.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegertotalVCpus()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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
-