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