Class CfnLaunchPropsMixin.LaunchGroupObjectProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.evidently.CfnLaunchPropsMixin.LaunchGroupObjectProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchPropsMixin.LaunchGroupObjectProperty>
- Enclosing interface:
CfnLaunchPropsMixin.LaunchGroupObjectProperty
@Stability(Stable)
public static final class CfnLaunchPropsMixin.LaunchGroupObjectProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchPropsMixin.LaunchGroupObjectProperty>
A builder for
CfnLaunchPropsMixin.LaunchGroupObjectProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnLaunchPropsMixin.LaunchGroupObjectProperty.getDescription()Sets the value ofCfnLaunchPropsMixin.LaunchGroupObjectProperty.getFeature()Sets the value ofCfnLaunchPropsMixin.LaunchGroupObjectProperty.getGroupName()Sets the value ofCfnLaunchPropsMixin.LaunchGroupObjectProperty.getVariation()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
@Stability(Stable) public CfnLaunchPropsMixin.LaunchGroupObjectProperty.Builder description(String description) Sets the value ofCfnLaunchPropsMixin.LaunchGroupObjectProperty.getDescription()- Parameters:
description- A description of the launch group.- Returns:
this
-
feature
@Stability(Stable) public CfnLaunchPropsMixin.LaunchGroupObjectProperty.Builder feature(String feature) Sets the value ofCfnLaunchPropsMixin.LaunchGroupObjectProperty.getFeature()- Parameters:
feature- The feature that this launch is using.- Returns:
this
-
groupName
@Stability(Stable) public CfnLaunchPropsMixin.LaunchGroupObjectProperty.Builder groupName(String groupName) Sets the value ofCfnLaunchPropsMixin.LaunchGroupObjectProperty.getGroupName()- Parameters:
groupName- A name for this launch group. It can include up to 127 characters.- Returns:
this
-
variation
@Stability(Stable) public CfnLaunchPropsMixin.LaunchGroupObjectProperty.Builder variation(String variation) Sets the value ofCfnLaunchPropsMixin.LaunchGroupObjectProperty.getVariation()- Parameters:
variation- The feature variation to use for this launch group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchPropsMixin.LaunchGroupObjectProperty>- Returns:
- a new instance of
CfnLaunchPropsMixin.LaunchGroupObjectProperty - Throws:
NullPointerException- if any required attribute was not provided
-