Class TaskSetReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.ecs.TaskSetReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TaskSetReference>
- Enclosing interface:
TaskSetReference
@Stability(Stable)
public static final class TaskSetReference.Builder
extends Object
implements software.amazon.jsii.Builder<TaskSetReference>
A builder for
TaskSetReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofTaskSetReference.getCluster()Sets the value ofTaskSetReference.getService()Sets the value ofTaskSetReference.getTaskSetId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cluster
Sets the value ofTaskSetReference.getCluster()- Parameters:
cluster- The Cluster of the TaskSet resource. This parameter is required.- Returns:
this
-
service
Sets the value ofTaskSetReference.getService()- Parameters:
service- The Service of the TaskSet resource. This parameter is required.- Returns:
this
-
taskSetId
Sets the value ofTaskSetReference.getTaskSetId()- Parameters:
taskSetId- The Id of the TaskSet resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TaskSetReference>- Returns:
- a new instance of
TaskSetReference - Throws:
NullPointerException- if any required attribute was not provided
-