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