Interface InstanceTypeInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceTypeInfo.Builder,InstanceTypeInfo>,SdkBuilder<InstanceTypeInfo.Builder,InstanceTypeInfo>,SdkPojo
- Enclosing class:
- InstanceTypeInfo
@Mutable @NotThreadSafe 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.BuilderautoRecoverySupported(Boolean autoRecoverySupported)Indicates whether Amazon CloudWatch action based recovery is supported.InstanceTypeInfo.BuilderbareMetal(Boolean bareMetal)Indicates whether the instance is a bare metal instance type.InstanceTypeInfo.BuilderburstablePerformanceSupported(Boolean burstablePerformanceSupported)Indicates whether the instance type is a burstable performance T instance type.InstanceTypeInfo.BuildercurrentGeneration(Boolean currentGeneration)Indicates whether the instance type is current generation.InstanceTypeInfo.BuilderdedicatedHostsSupported(Boolean dedicatedHostsSupported)Indicates whether Dedicated Hosts are supported on the instance type.default InstanceTypeInfo.BuilderebsInfo(Consumer<EbsInfo.Builder> ebsInfo)Describes the Amazon EBS settings for the instance type.InstanceTypeInfo.BuilderebsInfo(EbsInfo ebsInfo)Describes the Amazon EBS settings for the instance type.default InstanceTypeInfo.BuilderfpgaInfo(Consumer<FpgaInfo.Builder> fpgaInfo)Describes the FPGA accelerator settings for the instance type.InstanceTypeInfo.BuilderfpgaInfo(FpgaInfo fpgaInfo)Describes the FPGA accelerator settings for the instance type.InstanceTypeInfo.BuilderfreeTierEligible(Boolean freeTierEligible)Indicates whether the instance type is eligible for the free tier.default InstanceTypeInfo.BuildergpuInfo(Consumer<GpuInfo.Builder> gpuInfo)Describes the GPU accelerator settings for the instance type.InstanceTypeInfo.BuildergpuInfo(GpuInfo gpuInfo)Describes the GPU accelerator settings for the instance type.InstanceTypeInfo.BuilderhibernationSupported(Boolean hibernationSupported)Indicates whether On-Demand hibernation is supported.InstanceTypeInfo.Builderhypervisor(String hypervisor)The hypervisor for the instance type.InstanceTypeInfo.Builderhypervisor(InstanceTypeHypervisor hypervisor)The hypervisor for the instance type.default InstanceTypeInfo.BuilderinferenceAcceleratorInfo(Consumer<InferenceAcceleratorInfo.Builder> inferenceAcceleratorInfo)Describes the Inference accelerator settings for the instance type.InstanceTypeInfo.BuilderinferenceAcceleratorInfo(InferenceAcceleratorInfo inferenceAcceleratorInfo)Describes the Inference accelerator settings for the instance type.default InstanceTypeInfo.BuilderinstanceStorageInfo(Consumer<InstanceStorageInfo.Builder> instanceStorageInfo)Describes the instance storage for the instance type.InstanceTypeInfo.BuilderinstanceStorageInfo(InstanceStorageInfo instanceStorageInfo)Describes the instance storage for the instance type.InstanceTypeInfo.BuilderinstanceStorageSupported(Boolean instanceStorageSupported)Indicates whether instance storage is supported.InstanceTypeInfo.BuilderinstanceType(String instanceType)The instance type.InstanceTypeInfo.BuilderinstanceType(InstanceType instanceType)The instance type.default InstanceTypeInfo.BuildermediaAcceleratorInfo(Consumer<MediaAcceleratorInfo.Builder> mediaAcceleratorInfo)Describes the media accelerator settings for the instance type.InstanceTypeInfo.BuildermediaAcceleratorInfo(MediaAcceleratorInfo mediaAcceleratorInfo)Describes the media accelerator settings for the instance type.default InstanceTypeInfo.BuildermemoryInfo(Consumer<MemoryInfo.Builder> memoryInfo)Describes the memory for the instance type.InstanceTypeInfo.BuildermemoryInfo(MemoryInfo memoryInfo)Describes the memory for the instance type.default InstanceTypeInfo.BuildernetworkInfo(Consumer<NetworkInfo.Builder> networkInfo)Describes the network settings for the instance type.InstanceTypeInfo.BuildernetworkInfo(NetworkInfo networkInfo)Describes the network settings for the instance type.default InstanceTypeInfo.BuilderneuronInfo(Consumer<NeuronInfo.Builder> neuronInfo)Describes the Neuron accelerator settings for the instance type.InstanceTypeInfo.BuilderneuronInfo(NeuronInfo neuronInfo)Describes the Neuron accelerator settings for the instance type.InstanceTypeInfo.BuildernitroEnclavesSupport(String nitroEnclavesSupport)Indicates whether Nitro Enclaves is supported.InstanceTypeInfo.BuildernitroEnclavesSupport(NitroEnclavesSupport nitroEnclavesSupport)Indicates whether Nitro Enclaves is supported.default InstanceTypeInfo.BuildernitroTpmInfo(Consumer<NitroTpmInfo.Builder> nitroTpmInfo)Describes the supported NitroTPM versions for the instance type.InstanceTypeInfo.BuildernitroTpmInfo(NitroTpmInfo nitroTpmInfo)Describes the supported NitroTPM versions for the instance type.InstanceTypeInfo.BuildernitroTpmSupport(String nitroTpmSupport)Indicates whether NitroTPM is supported.InstanceTypeInfo.BuildernitroTpmSupport(NitroTpmSupport nitroTpmSupport)Indicates whether NitroTPM is supported.InstanceTypeInfo.BuilderphcSupport(String phcSupport)Indicates whether a local Precision Time Protocol (PTP) hardware clock (PHC) is supported.InstanceTypeInfo.BuilderphcSupport(PhcSupport phcSupport)Indicates whether a local Precision Time Protocol (PTP) hardware clock (PHC) is supported.default InstanceTypeInfo.BuilderplacementGroupInfo(Consumer<PlacementGroupInfo.Builder> placementGroupInfo)Describes the placement group settings for the instance type.InstanceTypeInfo.BuilderplacementGroupInfo(PlacementGroupInfo placementGroupInfo)Describes the placement group settings for the instance type.default InstanceTypeInfo.BuilderprocessorInfo(Consumer<ProcessorInfo.Builder> processorInfo)Describes the processor.InstanceTypeInfo.BuilderprocessorInfo(ProcessorInfo processorInfo)Describes the processor.InstanceTypeInfo.BuilderrebootMigrationSupport(String rebootMigrationSupport)Indicates whether reboot migration during a user-initiated reboot is supported for instances that have a scheduledsystem-rebootevent.InstanceTypeInfo.BuilderrebootMigrationSupport(RebootMigrationSupport rebootMigrationSupport)Indicates whether reboot migration during a user-initiated reboot is supported for instances that have a scheduledsystem-rebootevent.InstanceTypeInfo.BuildersupportedBootModes(Collection<BootModeType> supportedBootModes)The supported boot modes.InstanceTypeInfo.BuildersupportedBootModes(BootModeType... supportedBootModes)The supported boot modes.InstanceTypeInfo.BuildersupportedBootModesWithStrings(String... supportedBootModes)The supported boot modes.InstanceTypeInfo.BuildersupportedBootModesWithStrings(Collection<String> supportedBootModes)The supported boot modes.InstanceTypeInfo.BuildersupportedRootDeviceTypes(Collection<RootDeviceType> supportedRootDeviceTypes)The supported root device types.InstanceTypeInfo.BuildersupportedRootDeviceTypes(RootDeviceType... supportedRootDeviceTypes)The supported root device types.InstanceTypeInfo.BuildersupportedRootDeviceTypesWithStrings(String... supportedRootDeviceTypes)The supported root device types.InstanceTypeInfo.BuildersupportedRootDeviceTypesWithStrings(Collection<String> supportedRootDeviceTypes)The supported root device types.InstanceTypeInfo.BuildersupportedUsageClasses(Collection<UsageClassType> supportedUsageClasses)Indicates whether the instance type is offered for spot, On-Demand, or Capacity Blocks.InstanceTypeInfo.BuildersupportedUsageClasses(UsageClassType... supportedUsageClasses)Indicates whether the instance type is offered for spot, On-Demand, or Capacity Blocks.InstanceTypeInfo.BuildersupportedUsageClassesWithStrings(String... supportedUsageClasses)Indicates whether the instance type is offered for spot, On-Demand, or Capacity Blocks.InstanceTypeInfo.BuildersupportedUsageClassesWithStrings(Collection<String> supportedUsageClasses)Indicates whether the instance type is offered for spot, On-Demand, or Capacity Blocks.InstanceTypeInfo.BuildersupportedVirtualizationTypes(Collection<VirtualizationType> supportedVirtualizationTypes)The supported virtualization types.InstanceTypeInfo.BuildersupportedVirtualizationTypes(VirtualizationType... supportedVirtualizationTypes)The supported virtualization types.InstanceTypeInfo.BuildersupportedVirtualizationTypesWithStrings(String... supportedVirtualizationTypes)The supported virtualization types.InstanceTypeInfo.BuildersupportedVirtualizationTypesWithStrings(Collection<String> supportedVirtualizationTypes)The supported virtualization types.default InstanceTypeInfo.BuildervCpuInfo(Consumer<VCpuInfo.Builder> vCpuInfo)Describes the vCPU configurations for the instance type.InstanceTypeInfo.BuildervCpuInfo(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, sdkFieldNameToField, 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, On-Demand, or Capacity Blocks.
- Parameters:
supportedUsageClasses- Indicates whether the instance type is offered for spot, On-Demand, or Capacity Blocks.- 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, On-Demand, or Capacity Blocks.
- Parameters:
supportedUsageClasses- Indicates whether the instance type is offered for spot, On-Demand, or Capacity Blocks.- 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, On-Demand, or Capacity Blocks.
- Parameters:
supportedUsageClasses- Indicates whether the instance type is offered for spot, On-Demand, or Capacity Blocks.- 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, On-Demand, or Capacity Blocks.
- Parameters:
supportedUsageClasses- Indicates whether the instance type is offered for spot, On-Demand, or Capacity Blocks.- 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.Builderavoiding the need to create one manually viaProcessorInfo.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaVCpuInfo.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaMemoryInfo.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaInstanceStorageInfo.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaEbsInfo.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaNetworkInfo.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaGpuInfo.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaFpgaInfo.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaPlacementGroupInfo.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaInferenceAcceleratorInfo.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaNitroTpmInfo.builder().When the
Consumercompletes,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)
-
mediaAcceleratorInfo
InstanceTypeInfo.Builder mediaAcceleratorInfo(MediaAcceleratorInfo mediaAcceleratorInfo)
Describes the media accelerator settings for the instance type.
- Parameters:
mediaAcceleratorInfo- Describes the media accelerator settings for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaAcceleratorInfo
default InstanceTypeInfo.Builder mediaAcceleratorInfo(Consumer<MediaAcceleratorInfo.Builder> mediaAcceleratorInfo)
Describes the media accelerator settings for the instance type.
This is a convenience method that creates an instance of theMediaAcceleratorInfo.Builderavoiding the need to create one manually viaMediaAcceleratorInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomediaAcceleratorInfo(MediaAcceleratorInfo).- Parameters:
mediaAcceleratorInfo- a consumer that will call methods onMediaAcceleratorInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
mediaAcceleratorInfo(MediaAcceleratorInfo)
-
neuronInfo
InstanceTypeInfo.Builder neuronInfo(NeuronInfo neuronInfo)
Describes the Neuron accelerator settings for the instance type.
- Parameters:
neuronInfo- Describes the Neuron accelerator settings for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
neuronInfo
default InstanceTypeInfo.Builder neuronInfo(Consumer<NeuronInfo.Builder> neuronInfo)
Describes the Neuron accelerator settings for the instance type.
This is a convenience method that creates an instance of theNeuronInfo.Builderavoiding the need to create one manually viaNeuronInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toneuronInfo(NeuronInfo).- Parameters:
neuronInfo- a consumer that will call methods onNeuronInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
neuronInfo(NeuronInfo)
-
phcSupport
InstanceTypeInfo.Builder phcSupport(String phcSupport)
Indicates whether a local Precision Time Protocol (PTP) hardware clock (PHC) is supported.
- Parameters:
phcSupport- Indicates whether a local Precision Time Protocol (PTP) hardware clock (PHC) is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PhcSupport,PhcSupport
-
phcSupport
InstanceTypeInfo.Builder phcSupport(PhcSupport phcSupport)
Indicates whether a local Precision Time Protocol (PTP) hardware clock (PHC) is supported.
- Parameters:
phcSupport- Indicates whether a local Precision Time Protocol (PTP) hardware clock (PHC) is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PhcSupport,PhcSupport
-
rebootMigrationSupport
InstanceTypeInfo.Builder rebootMigrationSupport(String 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.- Parameters:
rebootMigrationSupport- Indicates whether reboot migration during a user-initiated reboot is supported for instances that have a scheduledsystem-rebootevent. For more information, see Enable or disable reboot migration in the Amazon EC2 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RebootMigrationSupport,RebootMigrationSupport
-
rebootMigrationSupport
InstanceTypeInfo.Builder rebootMigrationSupport(RebootMigrationSupport 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.- Parameters:
rebootMigrationSupport- Indicates whether reboot migration during a user-initiated reboot is supported for instances that have a scheduledsystem-rebootevent. For more information, see Enable or disable reboot migration in the Amazon EC2 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RebootMigrationSupport,RebootMigrationSupport
-
-