public static interface InstanceTarget.Builder extends SdkPojo, CopyableBuilder<InstanceTarget.Builder,InstanceTarget>
| Modifier and Type | Method and Description |
|---|---|
InstanceTarget.Builder |
deploymentId(String deploymentId)
The unique ID of a deployment.
|
InstanceTarget.Builder |
instanceLabel(String instanceLabel)
A label that identifies whether the instance is an original target (
BLUE) or a replacement
target (GREEN). |
InstanceTarget.Builder |
instanceLabel(TargetLabel instanceLabel)
A label that identifies whether the instance is an original target (
BLUE) or a replacement
target (GREEN). |
InstanceTarget.Builder |
lastUpdatedAt(Instant lastUpdatedAt)
The date and time when the target instance was updated by a deployment.
|
InstanceTarget.Builder |
lifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
The lifecycle events of the deployment to this target instance.
|
InstanceTarget.Builder |
lifecycleEvents(Consumer<LifecycleEvent.Builder>... lifecycleEvents)
The lifecycle events of the deployment to this target instance.
|
InstanceTarget.Builder |
lifecycleEvents(LifecycleEvent... lifecycleEvents)
The lifecycle events of the deployment to this target instance.
|
InstanceTarget.Builder |
status(String status)
The status an EC2/On-premises deployment's target instance.
|
InstanceTarget.Builder |
status(TargetStatus status)
The status an EC2/On-premises deployment's target instance.
|
InstanceTarget.Builder |
targetArn(String targetArn)
The Amazon Resource Name (ARN) of the target.
|
InstanceTarget.Builder |
targetId(String targetId)
The unique ID of a deployment target that has a type of
instanceTarget. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInstanceTarget.Builder deploymentId(String deploymentId)
The unique ID of a deployment.
deploymentId - The unique ID of a deployment.InstanceTarget.Builder targetId(String targetId)
The unique ID of a deployment target that has a type of instanceTarget.
targetId - The unique ID of a deployment target that has a type of instanceTarget.InstanceTarget.Builder targetArn(String targetArn)
The Amazon Resource Name (ARN) of the target.
targetArn - The Amazon Resource Name (ARN) of the target.InstanceTarget.Builder status(String status)
The status an EC2/On-premises deployment's target instance.
status - The status an EC2/On-premises deployment's target instance.TargetStatus,
TargetStatusInstanceTarget.Builder status(TargetStatus status)
The status an EC2/On-premises deployment's target instance.
status - The status an EC2/On-premises deployment's target instance.TargetStatus,
TargetStatusInstanceTarget.Builder lastUpdatedAt(Instant lastUpdatedAt)
The date and time when the target instance was updated by a deployment.
lastUpdatedAt - The date and time when the target instance was updated by a deployment.InstanceTarget.Builder lifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
The lifecycle events of the deployment to this target instance.
lifecycleEvents - The lifecycle events of the deployment to this target instance.InstanceTarget.Builder lifecycleEvents(LifecycleEvent... lifecycleEvents)
The lifecycle events of the deployment to this target instance.
lifecycleEvents - The lifecycle events of the deployment to this target instance.InstanceTarget.Builder lifecycleEvents(Consumer<LifecycleEvent.Builder>... lifecycleEvents)
The lifecycle events of the deployment to this target instance.
This is a convenience method that creates an instance of theLifecycleEvent.Builder avoiding the need to create
one manually via LifecycleEvent.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #lifecycleEvents(List.
lifecycleEvents - a consumer that will call methods on
LifecycleEvent.Builder#lifecycleEvents(java.util.Collection) InstanceTarget.Builder instanceLabel(String instanceLabel)
A label that identifies whether the instance is an original target (BLUE) or a replacement
target (GREEN).
instanceLabel - A label that identifies whether the instance is an original target (BLUE) or a
replacement target (GREEN).TargetLabel,
TargetLabelInstanceTarget.Builder instanceLabel(TargetLabel instanceLabel)
A label that identifies whether the instance is an original target (BLUE) or a replacement
target (GREEN).
instanceLabel - A label that identifies whether the instance is an original target (BLUE) or a
replacement target (GREEN).TargetLabel,
TargetLabelCopyright © 2022. All rights reserved.