@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 |
hasSupportedRootDeviceTypes()
Returns true if the SupportedRootDeviceTypes property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
boolean |
hasSupportedUsageClasses()
Returns true if the SupportedUsageClasses property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasSupportedVirtualizationTypes()
Returns true if the SupportedVirtualizationTypes property was specified by the sender (it may be empty), or false
if the sender did not specify the value (it will be empty).
|
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<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 Elastic Compute Cloud 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 Elastic Compute Cloud 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.
You can use hasSupportedUsageClasses() to see if a value was sent in this field.
public final boolean hasSupportedUsageClasses()
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.
You can use hasSupportedUsageClasses() to see if a value was sent in this field.
public final List<RootDeviceType> supportedRootDeviceTypes()
The supported root device types.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSupportedRootDeviceTypes() to see if a value was sent in this field.
public final boolean hasSupportedRootDeviceTypes()
public final List<String> supportedRootDeviceTypesAsStrings()
The supported root device types.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSupportedRootDeviceTypes() to see if a value was sent in this field.
public final List<VirtualizationType> supportedVirtualizationTypes()
The supported virtualization types.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSupportedVirtualizationTypes() to see if a value was sent in this field.
public final boolean hasSupportedVirtualizationTypes()
public final List<String> supportedVirtualizationTypesAsStrings()
The supported virtualization types.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSupportedVirtualizationTypes() to see if a value was sent in this field.
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 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.