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