Interface ECSTarget.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ECSTarget.Builder,ECSTarget>,SdkBuilder<ECSTarget.Builder,ECSTarget>,SdkPojo
- Enclosing class:
- ECSTarget
public static interface ECSTarget.Builder extends SdkPojo, CopyableBuilder<ECSTarget.Builder,ECSTarget>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ECSTarget.BuilderdeploymentId(String deploymentId)The unique ID of a deployment.ECSTarget.BuilderlastUpdatedAt(Instant lastUpdatedAt)The date and time when the target Amazon ECS application was updated by a deployment.ECSTarget.BuilderlifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)The lifecycle events of the deployment to this target Amazon ECS application.ECSTarget.BuilderlifecycleEvents(Consumer<LifecycleEvent.Builder>... lifecycleEvents)The lifecycle events of the deployment to this target Amazon ECS application.ECSTarget.BuilderlifecycleEvents(LifecycleEvent... lifecycleEvents)The lifecycle events of the deployment to this target Amazon ECS application.ECSTarget.Builderstatus(String status)The status an Amazon ECS deployment's target ECS application.ECSTarget.Builderstatus(TargetStatus status)The status an Amazon ECS deployment's target ECS application.ECSTarget.BuildertargetArn(String targetArn)The Amazon Resource Name (ARN) of the target.ECSTarget.BuildertargetId(String targetId)The unique ID of a deployment target that has a type ofecsTarget.ECSTarget.BuildertaskSetsInfo(Collection<ECSTaskSet> taskSetsInfo)TheECSTaskSetobjects associated with the ECS target.ECSTarget.BuildertaskSetsInfo(Consumer<ECSTaskSet.Builder>... taskSetsInfo)TheECSTaskSetobjects associated with the ECS target.ECSTarget.BuildertaskSetsInfo(ECSTaskSet... taskSetsInfo)TheECSTaskSetobjects 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 Detail
-
deploymentId
ECSTarget.Builder deploymentId(String 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
ECSTarget.Builder targetId(String 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
ECSTarget.Builder targetArn(String 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
ECSTarget.Builder lastUpdatedAt(Instant 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
ECSTarget.Builder lifecycleEvents(Collection<LifecycleEvent> 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
ECSTarget.Builder lifecycleEvents(LifecycleEvent... 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
ECSTarget.Builder lifecycleEvents(Consumer<LifecycleEvent.Builder>... lifecycleEvents)
The lifecycle events of the deployment to this target Amazon ECS application.
This is a convenience method that creates an instance of theLifecycleEvent.Builderavoiding the need to create one manually viaLifecycleEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#lifecycleEvents(List.) - 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:
#lifecycleEvents(java.util.Collection)
-
status
ECSTarget.Builder status(String 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:
TargetStatus,TargetStatus
-
status
ECSTarget.Builder status(TargetStatus 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:
TargetStatus,TargetStatus
-
taskSetsInfo
ECSTarget.Builder taskSetsInfo(Collection<ECSTaskSet> taskSetsInfo)
The
ECSTaskSetobjects associated with the ECS target.- Parameters:
taskSetsInfo- TheECSTaskSetobjects associated with the ECS target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskSetsInfo
ECSTarget.Builder taskSetsInfo(ECSTaskSet... taskSetsInfo)
The
ECSTaskSetobjects associated with the ECS target.- Parameters:
taskSetsInfo- TheECSTaskSetobjects associated with the ECS target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskSetsInfo
ECSTarget.Builder taskSetsInfo(Consumer<ECSTaskSet.Builder>... taskSetsInfo)
The
This is a convenience method that creates an instance of theECSTaskSetobjects associated with the ECS target.ECSTaskSet.Builderavoiding the need to create one manually viaECSTaskSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#taskSetsInfo(List.) - 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:
#taskSetsInfo(java.util.Collection)
-
-