Interface ExecutionPausedDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExecutionPausedDetails.Builder,,ExecutionPausedDetails> SdkBuilder<ExecutionPausedDetails.Builder,,ExecutionPausedDetails> SdkPojo
- Enclosing class:
ExecutionPausedDetails
@Mutable
@NotThreadSafe
public static interface ExecutionPausedDetails.Builder
extends SdkPojo, CopyableBuilder<ExecutionPausedDetails.Builder,ExecutionPausedDetails>
-
Method Summary
Modifier and TypeMethodDescriptionexecutionTimeoutPaused(Boolean executionTimeoutPaused) Specifies whether the pause also paused the execution timeout.pauseRequestTimestamp(Instant pauseRequestTimestamp) The date and time when you requested the pause, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).default ExecutionPausedDetails.Builderreason(Consumer<EventPauseReason.Builder> reason) The reason that you provided when you paused the execution.reason(EventPauseReason reason) The reason that you provided when you paused the execution.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
pauseRequestTimestamp
The date and time when you requested the pause, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
- Parameters:
pauseRequestTimestamp- The date and time when you requested the pause, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reason
The reason that you provided when you paused the execution.
- Parameters:
reason- The reason that you provided when you paused the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reason
The reason that you provided when you paused the execution.
This is a convenience method that creates an instance of theEventPauseReason.Builderavoiding the need to create one manually viaEventPauseReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreason(EventPauseReason).- Parameters:
reason- a consumer that will call methods onEventPauseReason.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionTimeoutPaused
Specifies whether the pause also paused the execution timeout.
- Parameters:
executionTimeoutPaused- Specifies whether the pause also paused the execution timeout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-