public static interface ECSTarget.Builder extends SdkPojo, CopyableBuilder<ECSTarget.Builder,ECSTarget>
Modifier and Type | Method and Description |
---|---|
ECSTarget.Builder |
deploymentId(String deploymentId)
The unique ID of a deployment.
|
ECSTarget.Builder |
lastUpdatedAt(Instant lastUpdatedAt)
The date and time when the target Amazon ECS application was updated by a deployment.
|
ECSTarget.Builder |
lifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
The lifecycle events of the deployment to this target Amazon ECS application.
|
ECSTarget.Builder |
lifecycleEvents(Consumer<LifecycleEvent.Builder>... lifecycleEvents)
The lifecycle events of the deployment to this target Amazon ECS application.
|
ECSTarget.Builder |
lifecycleEvents(LifecycleEvent... lifecycleEvents)
The lifecycle events of the deployment to this target Amazon ECS application.
|
ECSTarget.Builder |
status(String status)
The status an Amazon ECS deployment's target ECS application.
|
ECSTarget.Builder |
status(TargetStatus status)
The status an Amazon ECS deployment's target ECS application.
|
ECSTarget.Builder |
targetArn(String targetArn)
The ARN of the target.
|
ECSTarget.Builder |
targetId(String targetId)
The unique ID of a deployment target that has a type of
ecsTarget . |
ECSTarget.Builder |
taskSetsInfo(Collection<ECSTaskSet> taskSetsInfo)
The
ECSTaskSet objects associated with the ECS target. |
ECSTarget.Builder |
taskSetsInfo(Consumer<ECSTaskSet.Builder>... taskSetsInfo)
The
ECSTaskSet objects associated with the ECS target. |
ECSTarget.Builder |
taskSetsInfo(ECSTaskSet... taskSetsInfo)
The
ECSTaskSet objects associated with the ECS target. |
copy
applyMutation, build
ECSTarget.Builder deploymentId(String deploymentId)
The unique ID of a deployment.
deploymentId
- The unique ID of a deployment.ECSTarget.Builder targetId(String targetId)
The unique ID of a deployment target that has a type of ecsTarget
.
targetId
- The unique ID of a deployment target that has a type of ecsTarget
.ECSTarget.Builder targetArn(String targetArn)
The ARN of the target.
targetArn
- The ARN of the target.ECSTarget.Builder lastUpdatedAt(Instant lastUpdatedAt)
The date and time when the target Amazon ECS application was updated by a deployment.
lastUpdatedAt
- The date and time when the target Amazon ECS application was updated by a deployment.ECSTarget.Builder lifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
The lifecycle events of the deployment to this target Amazon ECS application.
lifecycleEvents
- The lifecycle events of the deployment to this target Amazon ECS application.ECSTarget.Builder lifecycleEvents(LifecycleEvent... lifecycleEvents)
The lifecycle events of the deployment to this target Amazon ECS application.
lifecycleEvents
- The lifecycle events of the deployment to this target Amazon ECS application.ECSTarget.Builder lifecycleEvents(Consumer<LifecycleEvent.Builder>... lifecycleEvents)
The lifecycle events of the deployment to this target Amazon ECS application.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #lifecycleEvents(List)
.lifecycleEvents
- a consumer that will call methods on List.Builder
#lifecycleEvents(List)
ECSTarget.Builder status(String status)
The status an Amazon ECS deployment's target ECS application.
status
- The status an Amazon ECS deployment's target ECS application.TargetStatus
,
TargetStatus
ECSTarget.Builder status(TargetStatus status)
The status an Amazon ECS deployment's target ECS application.
status
- The status an Amazon ECS deployment's target ECS application.TargetStatus
,
TargetStatus
ECSTarget.Builder taskSetsInfo(Collection<ECSTaskSet> taskSetsInfo)
The ECSTaskSet
objects associated with the ECS target.
taskSetsInfo
- The ECSTaskSet
objects associated with the ECS target.ECSTarget.Builder taskSetsInfo(ECSTaskSet... taskSetsInfo)
The ECSTaskSet
objects associated with the ECS target.
taskSetsInfo
- The ECSTaskSet
objects associated with the ECS target.ECSTarget.Builder taskSetsInfo(Consumer<ECSTaskSet.Builder>... taskSetsInfo)
The ECSTaskSet
objects associated with the ECS target.
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #taskSetsInfo(List)
.taskSetsInfo
- a consumer that will call methods on List.Builder
#taskSetsInfo(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.