Class CfnPrimaryTaskSet.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnPrimaryTaskSet.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrimaryTaskSet>
- Enclosing class:
- CfnPrimaryTaskSet
@Stability(Stable)
public static final class CfnPrimaryTaskSet.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrimaryTaskSet>
A fluent builder for
CfnPrimaryTaskSet
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.static CfnPrimaryTaskSet.Builder
The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnPrimaryTaskSet.Builder
.
-
cluster
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.- Parameters:
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in. This parameter is required.- Returns:
this
-
service
The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.- Parameters:
service
- The short name or full Amazon Resource Name (ARN) of the service that the task set exists in. This parameter is required.- Returns:
this
-
taskSetId
The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment.- 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. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPrimaryTaskSet>
- Returns:
- a newly built instance of
CfnPrimaryTaskSet
.
-