Class CfnWorkspacePropsMixin.LabelProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.aps.CfnWorkspacePropsMixin.LabelProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspacePropsMixin.LabelProperty>
- Enclosing interface:
CfnWorkspacePropsMixin.LabelProperty
@Stability(Stable)
public static final class CfnWorkspacePropsMixin.LabelProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspacePropsMixin.LabelProperty>
A builder for
CfnWorkspacePropsMixin.LabelProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkspacePropsMixin.LabelProperty.getName()Sets the value ofCfnWorkspacePropsMixin.LabelProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnWorkspacePropsMixin.LabelProperty.getName()- Parameters:
name- The name for this label.- Returns:
this
-
value
Sets the value ofCfnWorkspacePropsMixin.LabelProperty.getValue()- Parameters:
value- The value for this label.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspacePropsMixin.LabelProperty>- Returns:
- a new instance of
CfnWorkspacePropsMixin.LabelProperty - Throws:
NullPointerException- if any required attribute was not provided
-