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