@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 bare metal.
|
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 a 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 |
hibernationSupported()
Indicates whether On-Demand hibernation is supported.
|
InstanceTypeHypervisor |
hypervisor()
Indicates the hypervisor used for the instance type.
|
String |
hypervisorAsString()
Indicates the hypervisor used for the instance type.
|
InferenceAcceleratorInfo |
inferenceAcceleratorInfo()
Describes the Inference accelerator settings for the instance type.
|
InstanceStorageInfo |
instanceStorageInfo()
Describes the disks 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> |
supportedRootDevices()
Indicates the supported root devices.
|
List<String> |
supportedRootDevicesAsStrings()
Indicates the supported root devices.
|
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.
|
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 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 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 Boolean currentGeneration()
Indicates whether the instance type is a current generation.
public Boolean freeTierEligible()
Indicates whether the instance type is eligible for the free tier.
public 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.
public 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.
public List<RootDeviceType> supportedRootDevices()
Indicates the supported root devices.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> supportedRootDevicesAsStrings()
Indicates the supported root devices.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Boolean bareMetal()
Indicates whether the instance is bare metal.
public InstanceTypeHypervisor hypervisor()
Indicates the hypervisor used 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 String hypervisorAsString()
Indicates the hypervisor used 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 ProcessorInfo processorInfo()
Describes the processor.
public VCpuInfo vCpuInfo()
Describes the vCPU configurations for the instance type.
public MemoryInfo memoryInfo()
Describes the memory for the instance type.
public Boolean instanceStorageSupported()
Indicates whether instance storage is supported.
public InstanceStorageInfo instanceStorageInfo()
Describes the disks for the instance type.
public EbsInfo ebsInfo()
Describes the Amazon EBS settings for the instance type.
public NetworkInfo networkInfo()
Describes the network settings for the instance type.
public GpuInfo gpuInfo()
Describes the GPU accelerator settings for the instance type.
public FpgaInfo fpgaInfo()
Describes the FPGA accelerator settings for the instance type.
public PlacementGroupInfo placementGroupInfo()
Describes the placement group settings for the instance type.
public InferenceAcceleratorInfo inferenceAcceleratorInfo()
Describes the Inference accelerator settings for the instance type.
public Boolean hibernationSupported()
Indicates whether On-Demand hibernation is supported.
public Boolean burstablePerformanceSupported()
Indicates whether the instance type is a burstable performance instance type.
public Boolean dedicatedHostsSupported()
Indicates whether Dedicated Hosts are supported on the instance type.
public 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.