Interface CustomerManagedWorkerCapabilities.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CustomerManagedWorkerCapabilities.Builder,CustomerManagedWorkerCapabilities>,SdkBuilder<CustomerManagedWorkerCapabilities.Builder,CustomerManagedWorkerCapabilities>,SdkPojo
- Enclosing class:
- CustomerManagedWorkerCapabilities
public static interface CustomerManagedWorkerCapabilities.Builder extends SdkPojo, CopyableBuilder<CustomerManagedWorkerCapabilities.Builder,CustomerManagedWorkerCapabilities>
-
-
Method Summary
-
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
-
acceleratorCount
CustomerManagedWorkerCapabilities.Builder acceleratorCount(AcceleratorCountRange 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:
acceleratorCount(AcceleratorCountRange)
-
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:
acceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRange)
-
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
CustomerManagedWorkerCapabilities.Builder acceleratorTypesWithStrings(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.
-
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
CustomerManagedWorkerCapabilities.Builder acceleratorTypes(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.
-
cpuArchitectureType
CustomerManagedWorkerCapabilities.Builder cpuArchitectureType(String 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,CpuArchitectureType
-
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:
CpuArchitectureType,CpuArchitectureType
-
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
CustomerManagedWorkerCapabilities.Builder customAmounts(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
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 to#customAmounts(List.) - 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:
#customAmounts(java.util.Collection)
-
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 to#customAttributes(List.) - 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:
#customAttributes(java.util.Collection)
-
memoryMiB
CustomerManagedWorkerCapabilities.Builder memoryMiB(MemoryMiBRange 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:
memoryMiB(MemoryMiBRange)
-
osFamily
CustomerManagedWorkerCapabilities.Builder osFamily(String 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:
CustomerManagedFleetOperatingSystemFamily,CustomerManagedFleetOperatingSystemFamily
-
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:
CustomerManagedFleetOperatingSystemFamily,CustomerManagedFleetOperatingSystemFamily
-
vCpuCount
CustomerManagedWorkerCapabilities.Builder vCpuCount(VCpuCountRange 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:
vCpuCount(VCpuCountRange)
-
-