Interface DeployActionExecutionTarget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeployActionExecutionTarget.Builder,
,DeployActionExecutionTarget> SdkBuilder<DeployActionExecutionTarget.Builder,
,DeployActionExecutionTarget> SdkPojo
- Enclosing class:
DeployActionExecutionTarget
@Mutable
@NotThreadSafe
public static interface DeployActionExecutionTarget.Builder
extends SdkPojo, CopyableBuilder<DeployActionExecutionTarget.Builder,DeployActionExecutionTarget>
-
Method Summary
Modifier and TypeMethodDescriptionThe end time for the deploy action.events
(Collection<DeployTargetEvent> events) The lifecycle events for the deploy action.events
(Consumer<DeployTargetEvent.Builder>... events) The lifecycle events for the deploy action.events
(DeployTargetEvent... events) The lifecycle events for the deploy action.The start time for the deploy action.The status of the deploy action.The ID of the target for the deploy action.targetType
(String targetType) The type of target for the deploy action.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, sdkFieldNameToField, sdkFields
-
Method Details
-
targetId
The ID of the target for the deploy action.
- Parameters:
targetId
- The ID of the target for the deploy action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetType
The type of target for the deploy action.
- Parameters:
targetType
- The type of target for the deploy action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the deploy action.
- Parameters:
status
- The status of the deploy action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The start time for the deploy action.
- Parameters:
startTime
- The start time for the deploy action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time for the deploy action.
- Parameters:
endTime
- The end time for the deploy action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
The lifecycle events for the deploy action.
- Parameters:
events
- The lifecycle events for the deploy action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
The lifecycle events for the deploy action.
- Parameters:
events
- The lifecycle events for the deploy action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
The lifecycle events for the deploy action.
This is a convenience method that creates an instance of theDeployTargetEvent.Builder
avoiding the need to create one manually viaDeployTargetEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevents(List<DeployTargetEvent>)
.- Parameters:
events
- a consumer that will call methods onDeployTargetEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-