@Generated(value="software.amazon.awssdk:codegen") public final class InstanceTypeInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceTypeInfo.Builder,InstanceTypeInfo>
Describes the instance type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InstanceTypeInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
autoRecoverySupported()
Indicates whether auto recovery is supported.
|
Boolean |
bareMetal()
Indicates whether the instance is a bare metal instance type.
|
static InstanceTypeInfo.Builder |
builder() |
Boolean |
burstablePerformanceSupported()
Indicates whether the instance type is a burstable performance instance type.
|
Boolean |
currentGeneration()
Indicates whether the instance type is current generation.
|
Boolean |
dedicatedHostsSupported()
Indicates whether Dedicated Hosts are supported on the instance type.
|
EbsInfo |
ebsInfo()
Describes the Amazon EBS settings for the instance type.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FpgaInfo |
fpgaInfo()
Describes the FPGA accelerator settings for the instance type.
|
Boolean |
freeTierEligible()
Indicates whether the instance type is eligible for the free tier.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
GpuInfo |
gpuInfo()
Describes the GPU accelerator settings for the instance type.
|
int |
hashCode() |
boolean |
hasSupportedBootModes()
For responses, this returns true if the service returned a value for the SupportedBootModes property.
|
boolean |
hasSupportedRootDeviceTypes()
For responses, this returns true if the service returned a value for the SupportedRootDeviceTypes property.
|
boolean |
hasSupportedUsageClasses()
For responses, this returns true if the service returned a value for the SupportedUsageClasses property.
|
boolean |
hasSupportedVirtualizationTypes()
For responses, this returns true if the service returned a value for the SupportedVirtualizationTypes property.
|
Boolean |
hibernationSupported()
Indicates whether On-Demand hibernation is supported.
|
InstanceTypeHypervisor |
hypervisor()
The hypervisor for the instance type.
|
String |
hypervisorAsString()
The hypervisor for the instance type.
|
InferenceAcceleratorInfo |
inferenceAcceleratorInfo()
Describes the Inference accelerator settings for the instance type.
|
InstanceStorageInfo |
instanceStorageInfo()
Describes the instance storage for the instance type.
|
Boolean |
instanceStorageSupported()
Indicates whether instance storage is supported.
|
InstanceType |
instanceType()
The instance type.
|
String |
instanceTypeAsString()
The instance type.
|
MemoryInfo |
memoryInfo()
Describes the memory for the instance type.
|
NetworkInfo |
networkInfo()
Describes the network settings for the instance type.
|
PlacementGroupInfo |
placementGroupInfo()
Describes the placement group settings for the instance type.
|
ProcessorInfo |
processorInfo()
Describes the processor.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceTypeInfo.Builder> |
serializableBuilderClass() |
List<BootModeType> |
supportedBootModes()
The supported boot modes.
|
List<String> |
supportedBootModesAsStrings()
The supported boot modes.
|
List<RootDeviceType> |
supportedRootDeviceTypes()
The supported root device types.
|
List<String> |
supportedRootDeviceTypesAsStrings()
The supported root device types.
|
List<UsageClassType> |
supportedUsageClasses()
Indicates whether the instance type is offered for spot or On-Demand.
|
List<String> |
supportedUsageClassesAsStrings()
Indicates whether the instance type is offered for spot or On-Demand.
|
List<VirtualizationType> |
supportedVirtualizationTypes()
The supported virtualization types.
|
List<String> |
supportedVirtualizationTypesAsStrings()
The supported virtualization types.
|
InstanceTypeInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VCpuInfo |
vCpuInfo()
Describes the vCPU configurations for the instance type.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final InstanceType instanceType()
The instance type. For more information, see Instance types in the Amazon EC2 User Guide.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return InstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
instanceTypeAsString().
InstanceTypepublic final String instanceTypeAsString()
The instance type. For more information, see Instance types in the Amazon EC2 User Guide.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return InstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
instanceTypeAsString().
InstanceTypepublic final Boolean currentGeneration()
Indicates whether the instance type is current generation.
public final Boolean freeTierEligible()
Indicates whether the instance type is eligible for the free tier.
public final List<UsageClassType> supportedUsageClasses()
Indicates whether the instance type is offered for spot or On-Demand.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedUsageClasses() method.
public final boolean hasSupportedUsageClasses()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> supportedUsageClassesAsStrings()
Indicates whether the instance type is offered for spot or On-Demand.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedUsageClasses() method.
public final List<RootDeviceType> supportedRootDeviceTypes()
The supported root device types.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedRootDeviceTypes() method.
public final boolean hasSupportedRootDeviceTypes()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> supportedRootDeviceTypesAsStrings()
The supported root device types.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedRootDeviceTypes() method.
public final List<VirtualizationType> supportedVirtualizationTypes()
The supported virtualization types.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedVirtualizationTypes() method.
public final boolean hasSupportedVirtualizationTypes()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> supportedVirtualizationTypesAsStrings()
The supported virtualization types.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedVirtualizationTypes() method.
public final Boolean bareMetal()
Indicates whether the instance is a bare metal instance type.
public final InstanceTypeHypervisor hypervisor()
The hypervisor for the instance type.
If the service returns an enum value that is not available in the current SDK version, hypervisor will
return InstanceTypeHypervisor.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from hypervisorAsString().
InstanceTypeHypervisorpublic final String hypervisorAsString()
The hypervisor for the instance type.
If the service returns an enum value that is not available in the current SDK version, hypervisor will
return InstanceTypeHypervisor.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from hypervisorAsString().
InstanceTypeHypervisorpublic final ProcessorInfo processorInfo()
Describes the processor.
public final VCpuInfo vCpuInfo()
Describes the vCPU configurations for the instance type.
public final MemoryInfo memoryInfo()
Describes the memory for the instance type.
public final Boolean instanceStorageSupported()
Indicates whether instance storage is supported.
public final InstanceStorageInfo instanceStorageInfo()
Describes the instance storage for the instance type.
public final EbsInfo ebsInfo()
Describes the Amazon EBS settings for the instance type.
public final NetworkInfo networkInfo()
Describes the network settings for the instance type.
public final GpuInfo gpuInfo()
Describes the GPU accelerator settings for the instance type.
public final FpgaInfo fpgaInfo()
Describes the FPGA accelerator settings for the instance type.
public final PlacementGroupInfo placementGroupInfo()
Describes the placement group settings for the instance type.
public final InferenceAcceleratorInfo inferenceAcceleratorInfo()
Describes the Inference accelerator settings for the instance type.
public final Boolean hibernationSupported()
Indicates whether On-Demand hibernation is supported.
public final Boolean burstablePerformanceSupported()
Indicates whether the instance type is a burstable performance instance type.
public final Boolean dedicatedHostsSupported()
Indicates whether Dedicated Hosts are supported on the instance type.
public final Boolean autoRecoverySupported()
Indicates whether auto recovery is supported.
public final List<BootModeType> supportedBootModes()
The supported boot modes. For more information, see Boot modes in the Amazon EC2 User Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedBootModes() method.
public final boolean hasSupportedBootModes()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> supportedBootModesAsStrings()
The supported boot modes. For more information, see Boot modes in the Amazon EC2 User Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedBootModes() method.
public InstanceTypeInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InstanceTypeInfo.Builder,InstanceTypeInfo>public static InstanceTypeInfo.Builder builder()
public static Class<? extends InstanceTypeInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.