Interface DeployTargetEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeployTargetEvent.Builder,
,DeployTargetEvent> SdkBuilder<DeployTargetEvent.Builder,
,DeployTargetEvent> SdkPojo
- Enclosing class:
DeployTargetEvent
@Mutable
@NotThreadSafe
public static interface DeployTargetEvent.Builder
extends SdkPojo, CopyableBuilder<DeployTargetEvent.Builder,DeployTargetEvent>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeployTargetEvent.Builder
context
(Consumer<DeployTargetEventContext.Builder> context) The context for the event for the deploy action.context
(DeployTargetEventContext context) The context for the event for the deploy action.The end time for the event for the deploy action.The name of the event for the deploy action.The start time for the event for the deploy action.The status of the event 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
-
name
The name of the event for the deploy action.
- Parameters:
name
- The name of the event for the deploy action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the event for the deploy action.
- Parameters:
status
- The status of the event for the deploy action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The start time for the event for the deploy action.
- Parameters:
startTime
- The start time for the event 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 event for the deploy action.
- Parameters:
endTime
- The end time for the event for the deploy action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
context
The context for the event for the deploy action.
- Parameters:
context
- The context for the event for the deploy action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
context
The context for the event for the deploy action.
This is a convenience method that creates an instance of theDeployTargetEventContext.Builder
avoiding the need to create one manually viaDeployTargetEventContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontext(DeployTargetEventContext)
.- Parameters:
context
- a consumer that will call methods onDeployTargetEventContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-