Interface CustomerManagedWorkerCapabilities.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CustomerManagedWorkerCapabilities.Builder,,CustomerManagedWorkerCapabilities> SdkBuilder<CustomerManagedWorkerCapabilities.Builder,,CustomerManagedWorkerCapabilities> SdkPojo
- Enclosing class:
CustomerManagedWorkerCapabilities
-
Method Summary
Modifier and TypeMethodDescriptionacceleratorCount(Consumer<AcceleratorCountRange.Builder> acceleratorCount) The range of the accelerator.acceleratorCount(AcceleratorCountRange acceleratorCount) The range of the accelerator.acceleratorTotalMemoryMiB(Consumer<AcceleratorTotalMemoryMiBRange.Builder> acceleratorTotalMemoryMiB) The total memory (MiB) for the customer managed worker capabilities.acceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRange acceleratorTotalMemoryMiB) The total memory (MiB) for the customer managed worker capabilities.acceleratorTypes(Collection<AcceleratorType> acceleratorTypes) The accelerator types for the customer managed worker capabilities.acceleratorTypes(AcceleratorType... acceleratorTypes) The accelerator types for the customer managed worker capabilities.acceleratorTypesWithStrings(String... acceleratorTypes) The accelerator types for the customer managed worker capabilities.acceleratorTypesWithStrings(Collection<String> acceleratorTypes) The accelerator types for the customer managed worker capabilities.cpuArchitectureType(String cpuArchitectureType) The CPU architecture type for the customer managed worker capabilities.cpuArchitectureType(CpuArchitectureType cpuArchitectureType) The CPU architecture type for the customer managed worker capabilities.customAmounts(Collection<FleetAmountCapability> customAmounts) Custom requirement ranges for customer managed worker capabilities.customAmounts(Consumer<FleetAmountCapability.Builder>... customAmounts) Custom requirement ranges for customer managed worker capabilities.customAmounts(FleetAmountCapability... customAmounts) Custom requirement ranges for customer managed worker capabilities.customAttributes(Collection<FleetAttributeCapability> customAttributes) Custom attributes for the customer manged worker capabilities.customAttributes(Consumer<FleetAttributeCapability.Builder>... customAttributes) Custom attributes for the customer manged worker capabilities.customAttributes(FleetAttributeCapability... customAttributes) Custom attributes for the customer manged worker capabilities.memoryMiB(Consumer<MemoryMiBRange.Builder> memoryMiB) The memory (MiB).memoryMiB(MemoryMiBRange memoryMiB) The memory (MiB).The operating system (OS) family.The operating system (OS) family.vCpuCount(Consumer<VCpuCountRange.Builder> vCpuCount) The vCPU count for the customer manged worker capabilities.vCpuCount(VCpuCountRange vCpuCount) The vCPU count for the customer manged worker capabilities.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
vCpuCount
The vCPU count for the customer manged worker capabilities.
- Parameters:
vCpuCount- The vCPU count for the customer manged worker capabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vCpuCount
default CustomerManagedWorkerCapabilities.Builder vCpuCount(Consumer<VCpuCountRange.Builder> vCpuCount) The vCPU count for the customer manged worker capabilities.
This is a convenience method that creates an instance of theVCpuCountRange.Builderavoiding the need to create one manually viaVCpuCountRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovCpuCount(VCpuCountRange).- Parameters:
vCpuCount- a consumer that will call methods onVCpuCountRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
memoryMiB
The memory (MiB).
- Parameters:
memoryMiB- The memory (MiB).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryMiB
default CustomerManagedWorkerCapabilities.Builder memoryMiB(Consumer<MemoryMiBRange.Builder> memoryMiB) The memory (MiB).
This is a convenience method that creates an instance of theMemoryMiBRange.Builderavoiding the need to create one manually viaMemoryMiBRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomemoryMiB(MemoryMiBRange).- Parameters:
memoryMiB- a consumer that will call methods onMemoryMiBRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
acceleratorTypesWithStrings
CustomerManagedWorkerCapabilities.Builder acceleratorTypesWithStrings(Collection<String> acceleratorTypes) The accelerator types for the customer managed worker capabilities.
- Parameters:
acceleratorTypes- The accelerator types for the customer managed worker capabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceleratorTypesWithStrings
The accelerator types for the customer managed worker capabilities.
- Parameters:
acceleratorTypes- The accelerator types for the customer managed worker capabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceleratorTypes
CustomerManagedWorkerCapabilities.Builder acceleratorTypes(Collection<AcceleratorType> acceleratorTypes) The accelerator types for the customer managed worker capabilities.
- Parameters:
acceleratorTypes- The accelerator types for the customer managed worker capabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceleratorTypes
The accelerator types for the customer managed worker capabilities.
- Parameters:
acceleratorTypes- The accelerator types for the customer managed worker capabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceleratorCount
The range of the accelerator.
- Parameters:
acceleratorCount- The range of the accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceleratorCount
default CustomerManagedWorkerCapabilities.Builder acceleratorCount(Consumer<AcceleratorCountRange.Builder> acceleratorCount) The range of the accelerator.
This is a convenience method that creates an instance of theAcceleratorCountRange.Builderavoiding the need to create one manually viaAcceleratorCountRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toacceleratorCount(AcceleratorCountRange).- Parameters:
acceleratorCount- a consumer that will call methods onAcceleratorCountRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
acceleratorTotalMemoryMiB
CustomerManagedWorkerCapabilities.Builder acceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRange acceleratorTotalMemoryMiB) The total memory (MiB) for the customer managed worker capabilities.
- Parameters:
acceleratorTotalMemoryMiB- The total memory (MiB) for the customer managed worker capabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceleratorTotalMemoryMiB
default CustomerManagedWorkerCapabilities.Builder acceleratorTotalMemoryMiB(Consumer<AcceleratorTotalMemoryMiBRange.Builder> acceleratorTotalMemoryMiB) The total memory (MiB) for the customer managed worker capabilities.
This is a convenience method that creates an instance of theAcceleratorTotalMemoryMiBRange.Builderavoiding the need to create one manually viaAcceleratorTotalMemoryMiBRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toacceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRange).- Parameters:
acceleratorTotalMemoryMiB- a consumer that will call methods onAcceleratorTotalMemoryMiBRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
osFamily
The operating system (OS) family.
- Parameters:
osFamily- The operating system (OS) family.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
osFamily
CustomerManagedWorkerCapabilities.Builder osFamily(CustomerManagedFleetOperatingSystemFamily osFamily) The operating system (OS) family.
- Parameters:
osFamily- The operating system (OS) family.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cpuArchitectureType
The CPU architecture type for the customer managed worker capabilities.
- Parameters:
cpuArchitectureType- The CPU architecture type for the customer managed worker capabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cpuArchitectureType
CustomerManagedWorkerCapabilities.Builder cpuArchitectureType(CpuArchitectureType cpuArchitectureType) The CPU architecture type for the customer managed worker capabilities.
- Parameters:
cpuArchitectureType- The CPU architecture type for the customer managed worker capabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customAmounts
CustomerManagedWorkerCapabilities.Builder customAmounts(Collection<FleetAmountCapability> customAmounts) Custom requirement ranges for customer managed worker capabilities.
- Parameters:
customAmounts- Custom requirement ranges for customer managed worker capabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customAmounts
Custom requirement ranges for customer managed worker capabilities.
- Parameters:
customAmounts- Custom requirement ranges for customer managed worker capabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customAmounts
CustomerManagedWorkerCapabilities.Builder customAmounts(Consumer<FleetAmountCapability.Builder>... customAmounts) Custom requirement ranges for customer managed worker capabilities.
This is a convenience method that creates an instance of theFleetAmountCapability.Builderavoiding the need to create one manually viaFleetAmountCapability.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomAmounts(List<FleetAmountCapability>).- Parameters:
customAmounts- a consumer that will call methods onFleetAmountCapability.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customAttributes
CustomerManagedWorkerCapabilities.Builder customAttributes(Collection<FleetAttributeCapability> customAttributes) Custom attributes for the customer manged worker capabilities.
- Parameters:
customAttributes- Custom attributes for the customer manged worker capabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customAttributes
CustomerManagedWorkerCapabilities.Builder customAttributes(FleetAttributeCapability... customAttributes) Custom attributes for the customer manged worker capabilities.
- Parameters:
customAttributes- Custom attributes for the customer manged worker capabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customAttributes
CustomerManagedWorkerCapabilities.Builder customAttributes(Consumer<FleetAttributeCapability.Builder>... customAttributes) Custom attributes for the customer manged worker capabilities.
This is a convenience method that creates an instance of theFleetAttributeCapability.Builderavoiding the need to create one manually viaFleetAttributeCapability.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomAttributes(List<FleetAttributeCapability>).- Parameters:
customAttributes- a consumer that will call methods onFleetAttributeCapability.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-