Interface InstanceTarget.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<InstanceTarget.Builder,,- InstanceTarget> - SdkBuilder<InstanceTarget.Builder,,- InstanceTarget> - SdkPojo
- Enclosing class:
- InstanceTarget
- 
Method SummaryModifier and TypeMethodDescriptiondeploymentId(String deploymentId) The unique ID of a deployment.instanceLabel(String instanceLabel) A label that identifies whether the instance is an original target (BLUE) or a replacement target (GREEN).instanceLabel(TargetLabel instanceLabel) A label that identifies whether the instance is an original target (BLUE) or a replacement target (GREEN).lastUpdatedAt(Instant lastUpdatedAt) The date and time when the target instance was updated by a deployment.lifecycleEvents(Collection<LifecycleEvent> lifecycleEvents) The lifecycle events of the deployment to this target instance.lifecycleEvents(Consumer<LifecycleEvent.Builder>... lifecycleEvents) The lifecycle events of the deployment to this target instance.lifecycleEvents(LifecycleEvent... lifecycleEvents) The lifecycle events of the deployment to this target instance.The status an EC2/On-premises deployment's target instance.status(TargetStatus status) The status an EC2/On-premises deployment's target instance.The Amazon Resource Name (ARN) of the target.The unique ID of a deployment target that has a type ofinstanceTarget.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
deploymentIdThe 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.
 
- 
targetIdThe unique ID of a deployment target that has a type of instanceTarget.- Parameters:
- targetId- The unique ID of a deployment target that has a type of- instanceTarget.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
targetArnThe 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.
 
- 
statusThe status an EC2/On-premises deployment's target instance. - Parameters:
- status- The status an EC2/On-premises deployment's target instance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
statusThe status an EC2/On-premises deployment's target instance. - Parameters:
- status- The status an EC2/On-premises deployment's target instance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
lastUpdatedAtThe date and time when the target instance was updated by a deployment. - Parameters:
- lastUpdatedAt- The date and time when the target instance was updated by a deployment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
lifecycleEventsThe lifecycle events of the deployment to this target instance. - Parameters:
- lifecycleEvents- The lifecycle events of the deployment to this target instance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
lifecycleEventsThe lifecycle events of the deployment to this target instance. - Parameters:
- lifecycleEvents- The lifecycle events of the deployment to this target instance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
lifecycleEventsThe lifecycle events of the deployment to this target instance. 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 tolifecycleEvents(List<LifecycleEvent>).- Parameters:
- lifecycleEvents- a consumer that will call methods on- LifecycleEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
instanceLabelA label that identifies whether the instance is an original target ( BLUE) or a replacement target (GREEN).- Parameters:
- instanceLabel- A label that identifies whether the instance is an original target (- BLUE) or a replacement target (- GREEN).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
instanceLabelA label that identifies whether the instance is an original target ( BLUE) or a replacement target (GREEN).- Parameters:
- instanceLabel- A label that identifies whether the instance is an original target (- BLUE) or a replacement target (- GREEN).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-