Class TaskDefinitionReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.iotwireless.TaskDefinitionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TaskDefinitionReference>
- Enclosing interface:
TaskDefinitionReference
@Stability(Stable)
public static final class TaskDefinitionReference.Builder
extends Object
implements software.amazon.jsii.Builder<TaskDefinitionReference>
A builder for
TaskDefinitionReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.taskDefinitionArn(String taskDefinitionArn) Sets the value ofTaskDefinitionReference.getTaskDefinitionArn()taskDefinitionId(String taskDefinitionId) Sets the value ofTaskDefinitionReference.getTaskDefinitionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
taskDefinitionArn
@Stability(Stable) public TaskDefinitionReference.Builder taskDefinitionArn(String taskDefinitionArn) Sets the value ofTaskDefinitionReference.getTaskDefinitionArn()- Parameters:
taskDefinitionArn- The ARN of the TaskDefinition resource. This parameter is required.- Returns:
this
-
taskDefinitionId
Sets the value ofTaskDefinitionReference.getTaskDefinitionId()- Parameters:
taskDefinitionId- The Id of the TaskDefinition resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TaskDefinitionReference>- Returns:
- a new instance of
TaskDefinitionReference - Throws:
NullPointerException- if any required attribute was not provided
-