Interface ECSTarget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ECSTarget.Builder,
,ECSTarget> SdkBuilder<ECSTarget.Builder,
,ECSTarget> SdkPojo
- Enclosing class:
ECSTarget
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentId
(String deploymentId) The unique ID of a deployment.lastUpdatedAt
(Instant lastUpdatedAt) The date and time when the target Amazon ECS application was updated by a deployment.lifecycleEvents
(Collection<LifecycleEvent> lifecycleEvents) The lifecycle events of the deployment to this target Amazon ECS application.lifecycleEvents
(Consumer<LifecycleEvent.Builder>... lifecycleEvents) The lifecycle events of the deployment to this target Amazon ECS application.lifecycleEvents
(LifecycleEvent... lifecycleEvents) The lifecycle events of the deployment to this target Amazon ECS application.The status an Amazon ECS deployment's target ECS application.status
(TargetStatus status) The status an Amazon ECS deployment's target ECS application.The Amazon Resource Name (ARN) of the target.The unique ID of a deployment target that has a type ofecsTarget
.taskSetsInfo
(Collection<ECSTaskSet> taskSetsInfo) TheECSTaskSet
objects associated with the ECS target.taskSetsInfo
(Consumer<ECSTaskSet.Builder>... taskSetsInfo) TheECSTaskSet
objects associated with the ECS target.taskSetsInfo
(ECSTaskSet... taskSetsInfo) TheECSTaskSet
objects associated with the ECS target.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
deploymentId
The unique ID of a deployment.
- Parameters:
deploymentId
- The unique ID of a deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetId
The unique ID of a deployment target that has a type of
ecsTarget
.- Parameters:
targetId
- The unique ID of a deployment target that has a type ofecsTarget
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetArn
The Amazon Resource Name (ARN) of the target.
- Parameters:
targetArn
- The Amazon Resource Name (ARN) of the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
The date and time when the target Amazon ECS application was updated by a deployment.
- Parameters:
lastUpdatedAt
- The date and time when the target Amazon ECS application was updated by a deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleEvents
The lifecycle events of the deployment to this target Amazon ECS application.
- Parameters:
lifecycleEvents
- The lifecycle events of the deployment to this target Amazon ECS application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleEvents
The lifecycle events of the deployment to this target Amazon ECS application.
- Parameters:
lifecycleEvents
- The lifecycle events of the deployment to this target Amazon ECS application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleEvents
The lifecycle events of the deployment to this target Amazon ECS application.
This is a convenience method that creates an instance of theLifecycleEvent.Builder
avoiding the need to create one manually viaLifecycleEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolifecycleEvents(List<LifecycleEvent>)
.- Parameters:
lifecycleEvents
- a consumer that will call methods onLifecycleEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status an Amazon ECS deployment's target ECS application.
- Parameters:
status
- The status an Amazon ECS deployment's target ECS application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status an Amazon ECS deployment's target ECS application.
- Parameters:
status
- The status an Amazon ECS deployment's target ECS application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
taskSetsInfo
The
ECSTaskSet
objects associated with the ECS target.- Parameters:
taskSetsInfo
- TheECSTaskSet
objects associated with the ECS target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskSetsInfo
The
ECSTaskSet
objects associated with the ECS target.- Parameters:
taskSetsInfo
- TheECSTaskSet
objects associated with the ECS target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskSetsInfo
The
This is a convenience method that creates an instance of theECSTaskSet
objects associated with the ECS target.ECSTaskSet.Builder
avoiding the need to create one manually viaECSTaskSet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaskSetsInfo(List<ECSTaskSet>)
.- Parameters:
taskSetsInfo
- a consumer that will call methods onECSTaskSet.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-