Class CfnPrimaryTaskSetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnPrimaryTaskSetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrimaryTaskSetMixinProps>
- Enclosing interface:
CfnPrimaryTaskSetMixinProps
@Stability(Stable)
public static final class CfnPrimaryTaskSetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrimaryTaskSetMixinProps>
A builder for
CfnPrimaryTaskSetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPrimaryTaskSetMixinProps.getCluster()Sets the value ofCfnPrimaryTaskSetMixinProps.getService()Sets the value ofCfnPrimaryTaskSetMixinProps.getTaskSetId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cluster
Sets the value ofCfnPrimaryTaskSetMixinProps.getCluster()- Parameters:
cluster- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.- Returns:
this
-
service
Sets the value ofCfnPrimaryTaskSetMixinProps.getService()- Parameters:
service- The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.- Returns:
this
-
taskSetId
Sets the value ofCfnPrimaryTaskSetMixinProps.getTaskSetId()- Parameters:
taskSetId- The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPrimaryTaskSetMixinProps>- Returns:
- a new instance of
CfnPrimaryTaskSetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-