Class InstanceTypeInfo
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InstanceTypeInfo.Builder,InstanceTypeInfo>
Describes the instance type.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanIndicates whether Amazon CloudWatch action based recovery is supported.final BooleanIndicates whether the instance is a bare metal instance type.static InstanceTypeInfo.Builderbuilder()final BooleanIndicates whether the instance type is a burstable performance T instance type.final BooleanIndicates whether the instance type is current generation.final BooleanIndicates whether Dedicated Hosts are supported on the instance type.final EbsInfoebsInfo()Describes the Amazon EBS settings for the instance type.final booleanfinal booleanequalsBySdkFields(Object obj) final FpgaInfofpgaInfo()Describes the FPGA accelerator settings for the instance type.final BooleanIndicates whether the instance type is eligible for the free tier.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final GpuInfogpuInfo()Describes the GPU accelerator settings for the instance type.final inthashCode()final booleanFor responses, this returns true if the service returned a value for the SupportedBootModes property.final booleanFor responses, this returns true if the service returned a value for the SupportedRootDeviceTypes property.final booleanFor responses, this returns true if the service returned a value for the SupportedUsageClasses property.final booleanFor responses, this returns true if the service returned a value for the SupportedVirtualizationTypes property.final BooleanIndicates whether On-Demand hibernation is supported.final InstanceTypeHypervisorThe hypervisor for the instance type.final StringThe hypervisor for the instance type.final InferenceAcceleratorInfoDescribes the Inference accelerator settings for the instance type.final InstanceStorageInfoDescribes the instance storage for the instance type.final BooleanIndicates whether instance storage is supported.final InstanceTypeThe instance type.final StringThe instance type.final MediaAcceleratorInfoDescribes the media accelerator settings for the instance type.final MemoryInfoDescribes the memory for the instance type.final NetworkInfoDescribes the network settings for the instance type.final NeuronInfoDescribes the Neuron accelerator settings for the instance type.final NitroEnclavesSupportIndicates whether Nitro Enclaves is supported.final StringIndicates whether Nitro Enclaves is supported.final NitroTpmInfoDescribes the supported NitroTPM versions for the instance type.final NitroTpmSupportIndicates whether NitroTPM is supported.final StringIndicates whether NitroTPM is supported.final PhcSupportIndicates whether a local Precision Time Protocol (PTP) hardware clock (PHC) is supported.final StringIndicates whether a local Precision Time Protocol (PTP) hardware clock (PHC) is supported.final PlacementGroupInfoDescribes the placement group settings for the instance type.final ProcessorInfoDescribes the processor.final RebootMigrationSupportIndicates whether reboot migration during a user-initiated reboot is supported for instances that have a scheduledsystem-rebootevent.final StringIndicates whether reboot migration during a user-initiated reboot is supported for instances that have a scheduledsystem-rebootevent.static Class<? extends InstanceTypeInfo.Builder>final List<BootModeType>The supported boot modes.The supported boot modes.final List<RootDeviceType>The supported root device types.The supported root device types.final List<UsageClassType>Indicates whether the instance type is offered for spot, On-Demand, or Capacity Blocks.Indicates whether the instance type is offered for spot, On-Demand, or Capacity Blocks.final List<VirtualizationType>The supported virtualization types.The supported virtualization types.final StringtoString()Returns a string representation of this object.final VCpuInfovCpuInfo()Describes the vCPU configurations for the instance type.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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,
instanceTypewill returnInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominstanceTypeAsString().- Returns:
- The instance type. For more information, see Instance types in the Amazon EC2 User Guide.
- See Also:
-
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,
instanceTypewill returnInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominstanceTypeAsString().- Returns:
- The instance type. For more information, see Instance types in the Amazon EC2 User Guide.
- See Also:
-
currentGeneration
Indicates whether the instance type is current generation.
- Returns:
- Indicates whether the instance type is current generation.
-
freeTierEligible
Indicates whether the instance type is eligible for the free tier.
- Returns:
- Indicates whether the instance type is eligible for the free tier.
-
supportedUsageClasses
Indicates whether the instance type is offered for spot, On-Demand, or Capacity Blocks.
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.- Returns:
- Indicates whether the instance type is offered for spot, On-Demand, or Capacity Blocks.
-
hasSupportedUsageClasses
public final boolean hasSupportedUsageClasses()For responses, this returns true if the service returned a value for the SupportedUsageClasses property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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. -
supportedUsageClassesAsStrings
Indicates whether the instance type is offered for spot, On-Demand, or Capacity Blocks.
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.- Returns:
- Indicates whether the instance type is offered for spot, On-Demand, or Capacity Blocks.
-
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.- Returns:
- The supported root device types.
-
hasSupportedRootDeviceTypes
public final boolean hasSupportedRootDeviceTypes()For responses, this returns true if the service returned a value for the SupportedRootDeviceTypes property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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. -
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.- Returns:
- The supported root device types.
-
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.- Returns:
- The supported virtualization types.
-
hasSupportedVirtualizationTypes
public final boolean hasSupportedVirtualizationTypes()For responses, this returns true if the service returned a value for the SupportedVirtualizationTypes property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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. -
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.- Returns:
- The supported virtualization types.
-
bareMetal
Indicates whether the instance is a bare metal instance type.
- Returns:
- Indicates whether the instance is a bare metal instance type.
-
hypervisor
The hypervisor for the instance type.
If the service returns an enum value that is not available in the current SDK version,
hypervisorwill returnInstanceTypeHypervisor.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhypervisorAsString().- Returns:
- The hypervisor for the instance type.
- See Also:
-
hypervisorAsString
The hypervisor for the instance type.
If the service returns an enum value that is not available in the current SDK version,
hypervisorwill returnInstanceTypeHypervisor.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhypervisorAsString().- Returns:
- The hypervisor for the instance type.
- See Also:
-
processorInfo
Describes the processor.
- Returns:
- Describes the processor.
-
vCpuInfo
Describes the vCPU configurations for the instance type.
- Returns:
- Describes the vCPU configurations for the instance type.
-
memoryInfo
Describes the memory for the instance type.
- Returns:
- Describes the memory for the instance type.
-
instanceStorageSupported
Indicates whether instance storage is supported.
- Returns:
- Indicates whether instance storage is supported.
-
instanceStorageInfo
Describes the instance storage for the instance type.
- Returns:
- Describes the instance storage for the instance type.
-
ebsInfo
Describes the Amazon EBS settings for the instance type.
- Returns:
- Describes the Amazon EBS settings for the instance type.
-
networkInfo
Describes the network settings for the instance type.
- Returns:
- Describes the network settings for the instance type.
-
gpuInfo
Describes the GPU accelerator settings for the instance type.
- Returns:
- Describes the GPU accelerator settings for the instance type.
-
fpgaInfo
Describes the FPGA accelerator settings for the instance type.
- Returns:
- Describes the FPGA accelerator settings for the instance type.
-
placementGroupInfo
Describes the placement group settings for the instance type.
- Returns:
- Describes the placement group settings for the instance type.
-
inferenceAcceleratorInfo
Describes the Inference accelerator settings for the instance type.
- Returns:
- Describes the Inference accelerator settings for the instance type.
-
hibernationSupported
Indicates whether On-Demand hibernation is supported.
- Returns:
- Indicates whether On-Demand hibernation is supported.
-
burstablePerformanceSupported
Indicates whether the instance type is a burstable performance T instance type. For more information, see Burstable performance instances.
- Returns:
- Indicates whether the instance type is a burstable performance T instance type. For more information, see Burstable performance instances.
-
dedicatedHostsSupported
Indicates whether Dedicated Hosts are supported on the instance type.
- Returns:
- Indicates whether Dedicated Hosts are supported on the instance type.
-
autoRecoverySupported
Indicates whether Amazon CloudWatch action based recovery is supported.
- Returns:
- Indicates whether Amazon CloudWatch action based recovery is supported.
-
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.- Returns:
- The supported boot modes. For more information, see Boot modes in the Amazon EC2 User Guide.
-
hasSupportedBootModes
public final boolean hasSupportedBootModes()For responses, this returns true if the service returned a value for the SupportedBootModes property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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. -
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.- Returns:
- The supported boot modes. For more information, see Boot modes in the Amazon EC2 User Guide.
-
nitroEnclavesSupport
Indicates whether Nitro Enclaves is supported.
If the service returns an enum value that is not available in the current SDK version,
nitroEnclavesSupportwill returnNitroEnclavesSupport.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnitroEnclavesSupportAsString().- Returns:
- Indicates whether Nitro Enclaves is supported.
- See Also:
-
nitroEnclavesSupportAsString
Indicates whether Nitro Enclaves is supported.
If the service returns an enum value that is not available in the current SDK version,
nitroEnclavesSupportwill returnNitroEnclavesSupport.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnitroEnclavesSupportAsString().- Returns:
- Indicates whether Nitro Enclaves is supported.
- See Also:
-
nitroTpmSupport
Indicates whether NitroTPM is supported.
If the service returns an enum value that is not available in the current SDK version,
nitroTpmSupportwill returnNitroTpmSupport.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnitroTpmSupportAsString().- Returns:
- Indicates whether NitroTPM is supported.
- See Also:
-
nitroTpmSupportAsString
Indicates whether NitroTPM is supported.
If the service returns an enum value that is not available in the current SDK version,
nitroTpmSupportwill returnNitroTpmSupport.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnitroTpmSupportAsString().- Returns:
- Indicates whether NitroTPM is supported.
- See Also:
-
nitroTpmInfo
Describes the supported NitroTPM versions for the instance type.
- Returns:
- Describes the supported NitroTPM versions for the instance type.
-
mediaAcceleratorInfo
Describes the media accelerator settings for the instance type.
- Returns:
- Describes the media accelerator settings for the instance type.
-
neuronInfo
Describes the Neuron accelerator settings for the instance type.
- Returns:
- Describes the Neuron accelerator settings for the instance type.
-
phcSupport
Indicates whether a local Precision Time Protocol (PTP) hardware clock (PHC) is supported.
If the service returns an enum value that is not available in the current SDK version,
phcSupportwill returnPhcSupport.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromphcSupportAsString().- Returns:
- Indicates whether a local Precision Time Protocol (PTP) hardware clock (PHC) is supported.
- See Also:
-
phcSupportAsString
Indicates whether a local Precision Time Protocol (PTP) hardware clock (PHC) is supported.
If the service returns an enum value that is not available in the current SDK version,
phcSupportwill returnPhcSupport.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromphcSupportAsString().- Returns:
- Indicates whether a local Precision Time Protocol (PTP) hardware clock (PHC) is supported.
- See Also:
-
rebootMigrationSupport
Indicates whether reboot migration during a user-initiated reboot is supported for instances that have a scheduled
system-rebootevent. For more information, see Enable or disable reboot migration in the Amazon EC2 User Guide.If the service returns an enum value that is not available in the current SDK version,
rebootMigrationSupportwill returnRebootMigrationSupport.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrebootMigrationSupportAsString().- Returns:
- Indicates whether reboot migration during a user-initiated reboot is supported for instances that have a
scheduled
system-rebootevent. For more information, see Enable or disable reboot migration in the Amazon EC2 User Guide. - See Also:
-
rebootMigrationSupportAsString
Indicates whether reboot migration during a user-initiated reboot is supported for instances that have a scheduled
system-rebootevent. For more information, see Enable or disable reboot migration in the Amazon EC2 User Guide.If the service returns an enum value that is not available in the current SDK version,
rebootMigrationSupportwill returnRebootMigrationSupport.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrebootMigrationSupportAsString().- Returns:
- Indicates whether reboot migration during a user-initiated reboot is supported for instances that have a
scheduled
system-rebootevent. For more information, see Enable or disable reboot migration in the Amazon EC2 User Guide. - See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<InstanceTypeInfo.Builder,InstanceTypeInfo>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-