Class CfnFleet.CustomerManagedWorkerCapabilitiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.deadline.CfnFleet.CustomerManagedWorkerCapabilitiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFleet.CustomerManagedWorkerCapabilitiesProperty>
- Enclosing interface:
CfnFleet.CustomerManagedWorkerCapabilitiesProperty
@Stability(Stable)
public static final class CfnFleet.CustomerManagedWorkerCapabilitiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFleet.CustomerManagedWorkerCapabilitiesProperty>
A builder for
CfnFleet.CustomerManagedWorkerCapabilitiesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionacceleratorCount
(IResolvable acceleratorCount) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getAcceleratorCount()
acceleratorCount
(CfnFleet.AcceleratorCountRangeProperty acceleratorCount) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getAcceleratorCount()
acceleratorTotalMemoryMiB
(IResolvable acceleratorTotalMemoryMiB) acceleratorTotalMemoryMiB
(CfnFleet.AcceleratorTotalMemoryMiBRangeProperty acceleratorTotalMemoryMiB) acceleratorTypes
(List<String> acceleratorTypes) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getAcceleratorTypes()
build()
Builds the configured instance.cpuArchitectureType
(String cpuArchitectureType) customAmounts
(List<? extends Object> customAmounts) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getCustomAmounts()
customAmounts
(IResolvable customAmounts) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getCustomAmounts()
customAttributes
(List<? extends Object> customAttributes) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getCustomAttributes()
customAttributes
(IResolvable customAttributes) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getCustomAttributes()
memoryMiB
(IResolvable memoryMiB) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getMemoryMiB()
memoryMiB
(CfnFleet.MemoryMiBRangeProperty memoryMiB) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getMemoryMiB()
Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getOsFamily()
vCpuCount
(IResolvable vCpuCount) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getVCpuCount()
vCpuCount
(CfnFleet.VCpuCountRangeProperty vCpuCount) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getVCpuCount()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cpuArchitectureType
@Stability(Stable) public CfnFleet.CustomerManagedWorkerCapabilitiesProperty.Builder cpuArchitectureType(String cpuArchitectureType) - Parameters:
cpuArchitectureType
- The CPU architecture type for the customer managed worker capabilities. This parameter is required.- Returns:
this
-
memoryMiB
@Stability(Stable) public CfnFleet.CustomerManagedWorkerCapabilitiesProperty.Builder memoryMiB(IResolvable memoryMiB) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getMemoryMiB()
- Parameters:
memoryMiB
- The memory (MiB). This parameter is required.- Returns:
this
-
memoryMiB
@Stability(Stable) public CfnFleet.CustomerManagedWorkerCapabilitiesProperty.Builder memoryMiB(CfnFleet.MemoryMiBRangeProperty memoryMiB) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getMemoryMiB()
- Parameters:
memoryMiB
- The memory (MiB). This parameter is required.- Returns:
this
-
osFamily
@Stability(Stable) public CfnFleet.CustomerManagedWorkerCapabilitiesProperty.Builder osFamily(String osFamily) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getOsFamily()
- Parameters:
osFamily
- The operating system (OS) family. This parameter is required.- Returns:
this
-
vCpuCount
@Stability(Stable) public CfnFleet.CustomerManagedWorkerCapabilitiesProperty.Builder vCpuCount(IResolvable vCpuCount) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getVCpuCount()
- Parameters:
vCpuCount
- The vCPU count for the customer manged worker capabilities. This parameter is required.- Returns:
this
-
vCpuCount
@Stability(Stable) public CfnFleet.CustomerManagedWorkerCapabilitiesProperty.Builder vCpuCount(CfnFleet.VCpuCountRangeProperty vCpuCount) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getVCpuCount()
- Parameters:
vCpuCount
- The vCPU count for the customer manged worker capabilities. This parameter is required.- Returns:
this
-
acceleratorCount
@Stability(Stable) public CfnFleet.CustomerManagedWorkerCapabilitiesProperty.Builder acceleratorCount(IResolvable acceleratorCount) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getAcceleratorCount()
- Parameters:
acceleratorCount
- The range of the accelerator.- Returns:
this
-
acceleratorCount
@Stability(Stable) public CfnFleet.CustomerManagedWorkerCapabilitiesProperty.Builder acceleratorCount(CfnFleet.AcceleratorCountRangeProperty acceleratorCount) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getAcceleratorCount()
- Parameters:
acceleratorCount
- The range of the accelerator.- Returns:
this
-
acceleratorTotalMemoryMiB
@Stability(Stable) public CfnFleet.CustomerManagedWorkerCapabilitiesProperty.Builder acceleratorTotalMemoryMiB(IResolvable acceleratorTotalMemoryMiB) - Parameters:
acceleratorTotalMemoryMiB
- The total memory (MiB) for the customer managed worker capabilities.- Returns:
this
-
acceleratorTotalMemoryMiB
@Stability(Stable) public CfnFleet.CustomerManagedWorkerCapabilitiesProperty.Builder acceleratorTotalMemoryMiB(CfnFleet.AcceleratorTotalMemoryMiBRangeProperty acceleratorTotalMemoryMiB) - Parameters:
acceleratorTotalMemoryMiB
- The total memory (MiB) for the customer managed worker capabilities.- Returns:
this
-
acceleratorTypes
@Stability(Stable) public CfnFleet.CustomerManagedWorkerCapabilitiesProperty.Builder acceleratorTypes(List<String> acceleratorTypes) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getAcceleratorTypes()
- Parameters:
acceleratorTypes
- The accelerator types for the customer managed worker capabilities.- Returns:
this
-
customAmounts
@Stability(Stable) public CfnFleet.CustomerManagedWorkerCapabilitiesProperty.Builder customAmounts(IResolvable customAmounts) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getCustomAmounts()
- Parameters:
customAmounts
- Custom requirement ranges for customer managed worker capabilities.- Returns:
this
-
customAmounts
@Stability(Stable) public CfnFleet.CustomerManagedWorkerCapabilitiesProperty.Builder customAmounts(List<? extends Object> customAmounts) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getCustomAmounts()
- Parameters:
customAmounts
- Custom requirement ranges for customer managed worker capabilities.- Returns:
this
-
customAttributes
@Stability(Stable) public CfnFleet.CustomerManagedWorkerCapabilitiesProperty.Builder customAttributes(IResolvable customAttributes) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getCustomAttributes()
- Parameters:
customAttributes
- Custom attributes for the customer manged worker capabilities.- Returns:
this
-
customAttributes
@Stability(Stable) public CfnFleet.CustomerManagedWorkerCapabilitiesProperty.Builder customAttributes(List<? extends Object> customAttributes) Sets the value ofCfnFleet.CustomerManagedWorkerCapabilitiesProperty.getCustomAttributes()
- Parameters:
customAttributes
- Custom attributes for the customer manged worker capabilities.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFleet.CustomerManagedWorkerCapabilitiesProperty>
- Returns:
- a new instance of
CfnFleet.CustomerManagedWorkerCapabilitiesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-