Class CfnWorkspaceInstancePropsMixin.CpuOptionsRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspacesinstances.CfnWorkspaceInstancePropsMixin.CpuOptionsRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspaceInstancePropsMixin.CpuOptionsRequestProperty>
- Enclosing interface:
CfnWorkspaceInstancePropsMixin.CpuOptionsRequestProperty
@Stability(Stable)
public static final class CfnWorkspaceInstancePropsMixin.CpuOptionsRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspaceInstancePropsMixin.CpuOptionsRequestProperty>
A builder for
CfnWorkspaceInstancePropsMixin.CpuOptionsRequestProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkspaceInstancePropsMixin.CpuOptionsRequestProperty.getCoreCount()threadsPerCore(Number threadsPerCore)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
coreCount
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.CpuOptionsRequestProperty.Builder coreCount(Number coreCount) Sets the value ofCfnWorkspaceInstancePropsMixin.CpuOptionsRequestProperty.getCoreCount()- Parameters:
coreCount- the value to be set.- Returns:
this
-
threadsPerCore
@Stability(Stable) public CfnWorkspaceInstancePropsMixin.CpuOptionsRequestProperty.Builder threadsPerCore(Number threadsPerCore) - Parameters:
threadsPerCore- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspaceInstancePropsMixin.CpuOptionsRequestProperty>- Returns:
- a new instance of
CfnWorkspaceInstancePropsMixin.CpuOptionsRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-