Interface InstanceTypeInfo.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceTypeInfo.Builder,InstanceTypeInfo>
,SdkBuilder<InstanceTypeInfo.Builder,InstanceTypeInfo>
,SdkPojo
- Enclosing class:
- InstanceTypeInfo
public static interface InstanceTypeInfo.Builder extends SdkPojo, CopyableBuilder<InstanceTypeInfo.Builder,InstanceTypeInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description InstanceTypeInfo.Builder
autoRecoverySupported(Boolean autoRecoverySupported)
Indicates whether Amazon CloudWatch action based recovery is supported.InstanceTypeInfo.Builder
bareMetal(Boolean bareMetal)
Indicates whether the instance is a bare metal instance type.InstanceTypeInfo.Builder
burstablePerformanceSupported(Boolean burstablePerformanceSupported)
Indicates whether the instance type is a burstable performance T instance type.InstanceTypeInfo.Builder
currentGeneration(Boolean currentGeneration)
Indicates whether the instance type is current generation.InstanceTypeInfo.Builder
dedicatedHostsSupported(Boolean dedicatedHostsSupported)
Indicates whether Dedicated Hosts are supported on the instance type.default InstanceTypeInfo.Builder
ebsInfo(Consumer<EbsInfo.Builder> ebsInfo)
Describes the Amazon EBS settings for the instance type.InstanceTypeInfo.Builder
ebsInfo(EbsInfo ebsInfo)
Describes the Amazon EBS settings for the instance type.default InstanceTypeInfo.Builder
fpgaInfo(Consumer<FpgaInfo.Builder> fpgaInfo)
Describes the FPGA accelerator settings for the instance type.InstanceTypeInfo.Builder
fpgaInfo(FpgaInfo fpgaInfo)
Describes the FPGA accelerator settings for the instance type.InstanceTypeInfo.Builder
freeTierEligible(Boolean freeTierEligible)
Indicates whether the instance type is eligible for the free tier.default InstanceTypeInfo.Builder
gpuInfo(Consumer<GpuInfo.Builder> gpuInfo)
Describes the GPU accelerator settings for the instance type.InstanceTypeInfo.Builder
gpuInfo(GpuInfo gpuInfo)
Describes the GPU accelerator settings for the instance type.InstanceTypeInfo.Builder
hibernationSupported(Boolean hibernationSupported)
Indicates whether On-Demand hibernation is supported.InstanceTypeInfo.Builder
hypervisor(String hypervisor)
The hypervisor for the instance type.InstanceTypeInfo.Builder
hypervisor(InstanceTypeHypervisor hypervisor)
The hypervisor for the instance type.default InstanceTypeInfo.Builder
inferenceAcceleratorInfo(Consumer<InferenceAcceleratorInfo.Builder> inferenceAcceleratorInfo)
Describes the Inference accelerator settings for the instance type.InstanceTypeInfo.Builder
inferenceAcceleratorInfo(InferenceAcceleratorInfo inferenceAcceleratorInfo)
Describes the Inference accelerator settings for the instance type.default InstanceTypeInfo.Builder
instanceStorageInfo(Consumer<InstanceStorageInfo.Builder> instanceStorageInfo)
Describes the instance storage for the instance type.InstanceTypeInfo.Builder
instanceStorageInfo(InstanceStorageInfo instanceStorageInfo)
Describes the instance storage for the instance type.InstanceTypeInfo.Builder
instanceStorageSupported(Boolean instanceStorageSupported)
Indicates whether instance storage is supported.InstanceTypeInfo.Builder
instanceType(String instanceType)
The instance type.InstanceTypeInfo.Builder
instanceType(InstanceType instanceType)
The instance type.default InstanceTypeInfo.Builder
memoryInfo(Consumer<MemoryInfo.Builder> memoryInfo)
Describes the memory for the instance type.InstanceTypeInfo.Builder
memoryInfo(MemoryInfo memoryInfo)
Describes the memory for the instance type.default InstanceTypeInfo.Builder
networkInfo(Consumer<NetworkInfo.Builder> networkInfo)
Describes the network settings for the instance type.InstanceTypeInfo.Builder
networkInfo(NetworkInfo networkInfo)
Describes the network settings for the instance type.InstanceTypeInfo.Builder
nitroEnclavesSupport(String nitroEnclavesSupport)
Indicates whether Nitro Enclaves is supported.InstanceTypeInfo.Builder
nitroEnclavesSupport(NitroEnclavesSupport nitroEnclavesSupport)
Indicates whether Nitro Enclaves is supported.default InstanceTypeInfo.Builder
nitroTpmInfo(Consumer<NitroTpmInfo.Builder> nitroTpmInfo)
Describes the supported NitroTPM versions for the instance type.InstanceTypeInfo.Builder
nitroTpmInfo(NitroTpmInfo nitroTpmInfo)
Describes the supported NitroTPM versions for the instance type.InstanceTypeInfo.Builder
nitroTpmSupport(String nitroTpmSupport)
Indicates whether NitroTPM is supported.InstanceTypeInfo.Builder
nitroTpmSupport(NitroTpmSupport nitroTpmSupport)
Indicates whether NitroTPM is supported.default InstanceTypeInfo.Builder
placementGroupInfo(Consumer<PlacementGroupInfo.Builder> placementGroupInfo)
Describes the placement group settings for the instance type.InstanceTypeInfo.Builder
placementGroupInfo(PlacementGroupInfo placementGroupInfo)
Describes the placement group settings for the instance type.default InstanceTypeInfo.Builder
processorInfo(Consumer<ProcessorInfo.Builder> processorInfo)
Describes the processor.InstanceTypeInfo.Builder
processorInfo(ProcessorInfo processorInfo)
Describes the processor.InstanceTypeInfo.Builder
supportedBootModes(Collection<BootModeType> supportedBootModes)
The supported boot modes.InstanceTypeInfo.Builder
supportedBootModes(BootModeType... supportedBootModes)
The supported boot modes.InstanceTypeInfo.Builder
supportedBootModesWithStrings(String... supportedBootModes)
The supported boot modes.InstanceTypeInfo.Builder
supportedBootModesWithStrings(Collection<String> supportedBootModes)
The supported boot modes.InstanceTypeInfo.Builder
supportedRootDeviceTypes(Collection<RootDeviceType> supportedRootDeviceTypes)
The supported root device types.InstanceTypeInfo.Builder
supportedRootDeviceTypes(RootDeviceType... supportedRootDeviceTypes)
The supported root device types.InstanceTypeInfo.Builder
supportedRootDeviceTypesWithStrings(String... supportedRootDeviceTypes)
The supported root device types.InstanceTypeInfo.Builder
supportedRootDeviceTypesWithStrings(Collection<String> supportedRootDeviceTypes)
The supported root device types.InstanceTypeInfo.Builder
supportedUsageClasses(Collection<UsageClassType> supportedUsageClasses)
Indicates whether the instance type is offered for spot or On-Demand.InstanceTypeInfo.Builder
supportedUsageClasses(UsageClassType... supportedUsageClasses)
Indicates whether the instance type is offered for spot or On-Demand.InstanceTypeInfo.Builder
supportedUsageClassesWithStrings(String... supportedUsageClasses)
Indicates whether the instance type is offered for spot or On-Demand.InstanceTypeInfo.Builder
supportedUsageClassesWithStrings(Collection<String> supportedUsageClasses)
Indicates whether the instance type is offered for spot or On-Demand.InstanceTypeInfo.Builder
supportedVirtualizationTypes(Collection<VirtualizationType> supportedVirtualizationTypes)
The supported virtualization types.InstanceTypeInfo.Builder
supportedVirtualizationTypes(VirtualizationType... supportedVirtualizationTypes)
The supported virtualization types.InstanceTypeInfo.Builder
supportedVirtualizationTypesWithStrings(String... supportedVirtualizationTypes)
The supported virtualization types.InstanceTypeInfo.Builder
supportedVirtualizationTypesWithStrings(Collection<String> supportedVirtualizationTypes)
The supported virtualization types.default InstanceTypeInfo.Builder
vCpuInfo(Consumer<VCpuInfo.Builder> vCpuInfo)
Describes the vCPU configurations for the instance type.InstanceTypeInfo.Builder
vCpuInfo(VCpuInfo vCpuInfo)
Describes the vCPU configurations for the instance type.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
instanceType
InstanceTypeInfo.Builder instanceType(String instanceType)
The instance type. For more information, see Instance types in the Amazon EC2 User Guide.
- Parameters:
instanceType
- The instance type. For more information, see Instance types in the Amazon EC2 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceType
,InstanceType
-
instanceType
InstanceTypeInfo.Builder instanceType(InstanceType instanceType)
The instance type. For more information, see Instance types in the Amazon EC2 User Guide.
- Parameters:
instanceType
- The instance type. For more information, see Instance types in the Amazon EC2 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceType
,InstanceType
-
currentGeneration
InstanceTypeInfo.Builder currentGeneration(Boolean currentGeneration)
Indicates whether the instance type is current generation.
- Parameters:
currentGeneration
- Indicates whether the instance type is current generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
freeTierEligible
InstanceTypeInfo.Builder freeTierEligible(Boolean freeTierEligible)
Indicates whether the instance type is eligible for the free tier.
- Parameters:
freeTierEligible
- Indicates whether the instance type is eligible for the free tier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedUsageClassesWithStrings
InstanceTypeInfo.Builder supportedUsageClassesWithStrings(Collection<String> supportedUsageClasses)
Indicates whether the instance type is offered for spot or On-Demand.
- Parameters:
supportedUsageClasses
- Indicates whether the instance type is offered for spot or On-Demand.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedUsageClassesWithStrings
InstanceTypeInfo.Builder supportedUsageClassesWithStrings(String... supportedUsageClasses)
Indicates whether the instance type is offered for spot or On-Demand.
- Parameters:
supportedUsageClasses
- Indicates whether the instance type is offered for spot or On-Demand.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedUsageClasses
InstanceTypeInfo.Builder supportedUsageClasses(Collection<UsageClassType> supportedUsageClasses)
Indicates whether the instance type is offered for spot or On-Demand.
- Parameters:
supportedUsageClasses
- Indicates whether the instance type is offered for spot or On-Demand.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedUsageClasses
InstanceTypeInfo.Builder supportedUsageClasses(UsageClassType... supportedUsageClasses)
Indicates whether the instance type is offered for spot or On-Demand.
- Parameters:
supportedUsageClasses
- Indicates whether the instance type is offered for spot or On-Demand.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedRootDeviceTypesWithStrings
InstanceTypeInfo.Builder supportedRootDeviceTypesWithStrings(Collection<String> supportedRootDeviceTypes)
The supported root device types.
- Parameters:
supportedRootDeviceTypes
- The supported root device types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedRootDeviceTypesWithStrings
InstanceTypeInfo.Builder supportedRootDeviceTypesWithStrings(String... supportedRootDeviceTypes)
The supported root device types.
- Parameters:
supportedRootDeviceTypes
- The supported root device types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedRootDeviceTypes
InstanceTypeInfo.Builder supportedRootDeviceTypes(Collection<RootDeviceType> supportedRootDeviceTypes)
The supported root device types.
- Parameters:
supportedRootDeviceTypes
- The supported root device types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedRootDeviceTypes
InstanceTypeInfo.Builder supportedRootDeviceTypes(RootDeviceType... supportedRootDeviceTypes)
The supported root device types.
- Parameters:
supportedRootDeviceTypes
- The supported root device types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedVirtualizationTypesWithStrings
InstanceTypeInfo.Builder supportedVirtualizationTypesWithStrings(Collection<String> supportedVirtualizationTypes)
The supported virtualization types.
- Parameters:
supportedVirtualizationTypes
- The supported virtualization types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedVirtualizationTypesWithStrings
InstanceTypeInfo.Builder supportedVirtualizationTypesWithStrings(String... supportedVirtualizationTypes)
The supported virtualization types.
- Parameters:
supportedVirtualizationTypes
- The supported virtualization types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedVirtualizationTypes
InstanceTypeInfo.Builder supportedVirtualizationTypes(Collection<VirtualizationType> supportedVirtualizationTypes)
The supported virtualization types.
- Parameters:
supportedVirtualizationTypes
- The supported virtualization types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedVirtualizationTypes
InstanceTypeInfo.Builder supportedVirtualizationTypes(VirtualizationType... supportedVirtualizationTypes)
The supported virtualization types.
- Parameters:
supportedVirtualizationTypes
- The supported virtualization types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bareMetal
InstanceTypeInfo.Builder bareMetal(Boolean bareMetal)
Indicates whether the instance is a bare metal instance type.
- Parameters:
bareMetal
- Indicates whether the instance is a bare metal instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hypervisor
InstanceTypeInfo.Builder hypervisor(String hypervisor)
The hypervisor for the instance type.
- Parameters:
hypervisor
- The hypervisor for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceTypeHypervisor
,InstanceTypeHypervisor
-
hypervisor
InstanceTypeInfo.Builder hypervisor(InstanceTypeHypervisor hypervisor)
The hypervisor for the instance type.
- Parameters:
hypervisor
- The hypervisor for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceTypeHypervisor
,InstanceTypeHypervisor
-
processorInfo
InstanceTypeInfo.Builder processorInfo(ProcessorInfo processorInfo)
Describes the processor.
- Parameters:
processorInfo
- Describes the processor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processorInfo
default InstanceTypeInfo.Builder processorInfo(Consumer<ProcessorInfo.Builder> processorInfo)
Describes the processor.
This is a convenience method that creates an instance of theProcessorInfo.Builder
avoiding the need to create one manually viaProcessorInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprocessorInfo(ProcessorInfo)
.- Parameters:
processorInfo
- a consumer that will call methods onProcessorInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
processorInfo(ProcessorInfo)
-
vCpuInfo
InstanceTypeInfo.Builder vCpuInfo(VCpuInfo vCpuInfo)
Describes the vCPU configurations for the instance type.
- Parameters:
vCpuInfo
- Describes the vCPU configurations for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vCpuInfo
default InstanceTypeInfo.Builder vCpuInfo(Consumer<VCpuInfo.Builder> vCpuInfo)
Describes the vCPU configurations for the instance type.
This is a convenience method that creates an instance of theVCpuInfo.Builder
avoiding the need to create one manually viaVCpuInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovCpuInfo(VCpuInfo)
.- Parameters:
vCpuInfo
- a consumer that will call methods onVCpuInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vCpuInfo(VCpuInfo)
-
memoryInfo
InstanceTypeInfo.Builder memoryInfo(MemoryInfo memoryInfo)
Describes the memory for the instance type.
- Parameters:
memoryInfo
- Describes the memory for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryInfo
default InstanceTypeInfo.Builder memoryInfo(Consumer<MemoryInfo.Builder> memoryInfo)
Describes the memory for the instance type.
This is a convenience method that creates an instance of theMemoryInfo.Builder
avoiding the need to create one manually viaMemoryInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomemoryInfo(MemoryInfo)
.- Parameters:
memoryInfo
- a consumer that will call methods onMemoryInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
memoryInfo(MemoryInfo)
-
instanceStorageSupported
InstanceTypeInfo.Builder instanceStorageSupported(Boolean instanceStorageSupported)
Indicates whether instance storage is supported.
- Parameters:
instanceStorageSupported
- Indicates whether instance storage is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceStorageInfo
InstanceTypeInfo.Builder instanceStorageInfo(InstanceStorageInfo instanceStorageInfo)
Describes the instance storage for the instance type.
- Parameters:
instanceStorageInfo
- Describes the instance storage for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceStorageInfo
default InstanceTypeInfo.Builder instanceStorageInfo(Consumer<InstanceStorageInfo.Builder> instanceStorageInfo)
Describes the instance storage for the instance type.
This is a convenience method that creates an instance of theInstanceStorageInfo.Builder
avoiding the need to create one manually viaInstanceStorageInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceStorageInfo(InstanceStorageInfo)
.- Parameters:
instanceStorageInfo
- a consumer that will call methods onInstanceStorageInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
instanceStorageInfo(InstanceStorageInfo)
-
ebsInfo
InstanceTypeInfo.Builder ebsInfo(EbsInfo ebsInfo)
Describes the Amazon EBS settings for the instance type.
- Parameters:
ebsInfo
- Describes the Amazon EBS settings for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsInfo
default InstanceTypeInfo.Builder ebsInfo(Consumer<EbsInfo.Builder> ebsInfo)
Describes the Amazon EBS settings for the instance type.
This is a convenience method that creates an instance of theEbsInfo.Builder
avoiding the need to create one manually viaEbsInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toebsInfo(EbsInfo)
.- Parameters:
ebsInfo
- a consumer that will call methods onEbsInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ebsInfo(EbsInfo)
-
networkInfo
InstanceTypeInfo.Builder networkInfo(NetworkInfo networkInfo)
Describes the network settings for the instance type.
- Parameters:
networkInfo
- Describes the network settings for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInfo
default InstanceTypeInfo.Builder networkInfo(Consumer<NetworkInfo.Builder> networkInfo)
Describes the network settings for the instance type.
This is a convenience method that creates an instance of theNetworkInfo.Builder
avoiding the need to create one manually viaNetworkInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkInfo(NetworkInfo)
.- Parameters:
networkInfo
- a consumer that will call methods onNetworkInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
networkInfo(NetworkInfo)
-
gpuInfo
InstanceTypeInfo.Builder gpuInfo(GpuInfo gpuInfo)
Describes the GPU accelerator settings for the instance type.
- Parameters:
gpuInfo
- Describes the GPU accelerator settings for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gpuInfo
default InstanceTypeInfo.Builder gpuInfo(Consumer<GpuInfo.Builder> gpuInfo)
Describes the GPU accelerator settings for the instance type.
This is a convenience method that creates an instance of theGpuInfo.Builder
avoiding the need to create one manually viaGpuInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togpuInfo(GpuInfo)
.- Parameters:
gpuInfo
- a consumer that will call methods onGpuInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
gpuInfo(GpuInfo)
-
fpgaInfo
InstanceTypeInfo.Builder fpgaInfo(FpgaInfo fpgaInfo)
Describes the FPGA accelerator settings for the instance type.
- Parameters:
fpgaInfo
- Describes the FPGA accelerator settings for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fpgaInfo
default InstanceTypeInfo.Builder fpgaInfo(Consumer<FpgaInfo.Builder> fpgaInfo)
Describes the FPGA accelerator settings for the instance type.
This is a convenience method that creates an instance of theFpgaInfo.Builder
avoiding the need to create one manually viaFpgaInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofpgaInfo(FpgaInfo)
.- Parameters:
fpgaInfo
- a consumer that will call methods onFpgaInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
fpgaInfo(FpgaInfo)
-
placementGroupInfo
InstanceTypeInfo.Builder placementGroupInfo(PlacementGroupInfo placementGroupInfo)
Describes the placement group settings for the instance type.
- Parameters:
placementGroupInfo
- Describes the placement group settings for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placementGroupInfo
default InstanceTypeInfo.Builder placementGroupInfo(Consumer<PlacementGroupInfo.Builder> placementGroupInfo)
Describes the placement group settings for the instance type.
This is a convenience method that creates an instance of thePlacementGroupInfo.Builder
avoiding the need to create one manually viaPlacementGroupInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toplacementGroupInfo(PlacementGroupInfo)
.- Parameters:
placementGroupInfo
- a consumer that will call methods onPlacementGroupInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
placementGroupInfo(PlacementGroupInfo)
-
inferenceAcceleratorInfo
InstanceTypeInfo.Builder inferenceAcceleratorInfo(InferenceAcceleratorInfo inferenceAcceleratorInfo)
Describes the Inference accelerator settings for the instance type.
- Parameters:
inferenceAcceleratorInfo
- Describes the Inference accelerator settings for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceAcceleratorInfo
default InstanceTypeInfo.Builder inferenceAcceleratorInfo(Consumer<InferenceAcceleratorInfo.Builder> inferenceAcceleratorInfo)
Describes the Inference accelerator settings for the instance type.
This is a convenience method that creates an instance of theInferenceAcceleratorInfo.Builder
avoiding the need to create one manually viaInferenceAcceleratorInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinferenceAcceleratorInfo(InferenceAcceleratorInfo)
.- Parameters:
inferenceAcceleratorInfo
- a consumer that will call methods onInferenceAcceleratorInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
inferenceAcceleratorInfo(InferenceAcceleratorInfo)
-
hibernationSupported
InstanceTypeInfo.Builder hibernationSupported(Boolean hibernationSupported)
Indicates whether On-Demand hibernation is supported.
- Parameters:
hibernationSupported
- Indicates whether On-Demand hibernation is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
burstablePerformanceSupported
InstanceTypeInfo.Builder burstablePerformanceSupported(Boolean burstablePerformanceSupported)
Indicates whether the instance type is a burstable performance T instance type. For more information, see Burstable performance instances.
- Parameters:
burstablePerformanceSupported
- Indicates whether the instance type is a burstable performance T instance type. For more information, see Burstable performance instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dedicatedHostsSupported
InstanceTypeInfo.Builder dedicatedHostsSupported(Boolean dedicatedHostsSupported)
Indicates whether Dedicated Hosts are supported on the instance type.
- Parameters:
dedicatedHostsSupported
- Indicates whether Dedicated Hosts are supported on the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoRecoverySupported
InstanceTypeInfo.Builder autoRecoverySupported(Boolean autoRecoverySupported)
Indicates whether Amazon CloudWatch action based recovery is supported.
- Parameters:
autoRecoverySupported
- Indicates whether Amazon CloudWatch action based recovery is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedBootModesWithStrings
InstanceTypeInfo.Builder supportedBootModesWithStrings(Collection<String> supportedBootModes)
The supported boot modes. For more information, see Boot modes in the Amazon EC2 User Guide.
- Parameters:
supportedBootModes
- The supported boot modes. For more information, see Boot modes in the Amazon EC2 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedBootModesWithStrings
InstanceTypeInfo.Builder supportedBootModesWithStrings(String... supportedBootModes)
The supported boot modes. For more information, see Boot modes in the Amazon EC2 User Guide.
- Parameters:
supportedBootModes
- The supported boot modes. For more information, see Boot modes in the Amazon EC2 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedBootModes
InstanceTypeInfo.Builder supportedBootModes(Collection<BootModeType> supportedBootModes)
The supported boot modes. For more information, see Boot modes in the Amazon EC2 User Guide.
- Parameters:
supportedBootModes
- The supported boot modes. For more information, see Boot modes in the Amazon EC2 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedBootModes
InstanceTypeInfo.Builder supportedBootModes(BootModeType... supportedBootModes)
The supported boot modes. For more information, see Boot modes in the Amazon EC2 User Guide.
- Parameters:
supportedBootModes
- The supported boot modes. For more information, see Boot modes in the Amazon EC2 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nitroEnclavesSupport
InstanceTypeInfo.Builder nitroEnclavesSupport(String nitroEnclavesSupport)
Indicates whether Nitro Enclaves is supported.
- Parameters:
nitroEnclavesSupport
- Indicates whether Nitro Enclaves is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NitroEnclavesSupport
,NitroEnclavesSupport
-
nitroEnclavesSupport
InstanceTypeInfo.Builder nitroEnclavesSupport(NitroEnclavesSupport nitroEnclavesSupport)
Indicates whether Nitro Enclaves is supported.
- Parameters:
nitroEnclavesSupport
- Indicates whether Nitro Enclaves is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NitroEnclavesSupport
,NitroEnclavesSupport
-
nitroTpmSupport
InstanceTypeInfo.Builder nitroTpmSupport(String nitroTpmSupport)
Indicates whether NitroTPM is supported.
- Parameters:
nitroTpmSupport
- Indicates whether NitroTPM is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NitroTpmSupport
,NitroTpmSupport
-
nitroTpmSupport
InstanceTypeInfo.Builder nitroTpmSupport(NitroTpmSupport nitroTpmSupport)
Indicates whether NitroTPM is supported.
- Parameters:
nitroTpmSupport
- Indicates whether NitroTPM is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NitroTpmSupport
,NitroTpmSupport
-
nitroTpmInfo
InstanceTypeInfo.Builder nitroTpmInfo(NitroTpmInfo nitroTpmInfo)
Describes the supported NitroTPM versions for the instance type.
- Parameters:
nitroTpmInfo
- Describes the supported NitroTPM versions for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nitroTpmInfo
default InstanceTypeInfo.Builder nitroTpmInfo(Consumer<NitroTpmInfo.Builder> nitroTpmInfo)
Describes the supported NitroTPM versions for the instance type.
This is a convenience method that creates an instance of theNitroTpmInfo.Builder
avoiding the need to create one manually viaNitroTpmInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonitroTpmInfo(NitroTpmInfo)
.- Parameters:
nitroTpmInfo
- a consumer that will call methods onNitroTpmInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
nitroTpmInfo(NitroTpmInfo)
-
-