Interface InvocationCompletedDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InvocationCompletedDetails.Builder,,InvocationCompletedDetails> SdkBuilder<InvocationCompletedDetails.Builder,,InvocationCompletedDetails> SdkPojo
- Enclosing class:
InvocationCompletedDetails
@Mutable
@NotThreadSafe
public static interface InvocationCompletedDetails.Builder
extends SdkPojo, CopyableBuilder<InvocationCompletedDetails.Builder,InvocationCompletedDetails>
-
Method Summary
Modifier and TypeMethodDescriptionendTimestamp(Instant endTimestamp) The date and time when the invocation ended, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).error(Consumer<EventError.Builder> error) Details about the invocation failure.error(EventError error) Details about the invocation failure.The request ID for the invocation.startTimestamp(Instant startTimestamp) The date and time when the invocation started, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).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
-
startTimestamp
The date and time when the invocation started, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
- Parameters:
startTimestamp- The date and time when the invocation started, 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.
-
endTimestamp
The date and time when the invocation ended, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
- Parameters:
endTimestamp- The date and time when the invocation ended, 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.
-
requestId
The request ID for the invocation.
- Parameters:
requestId- The request ID for the invocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Details about the invocation failure.
- Parameters:
error- Details about the invocation failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Details about the invocation failure.
This is a convenience method that creates an instance of theEventError.Builderavoiding the need to create one manually viaEventError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(EventError).- Parameters:
error- a consumer that will call methods onEventError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-