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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description InvocationCompletedDetails.BuilderendTimestamp(Instant endTimestamp)The date and time when the invocation ended, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).default InvocationCompletedDetails.Buildererror(Consumer<EventError.Builder> error)Details about the invocation failure.InvocationCompletedDetails.Buildererror(EventError error)Details about the invocation failure.InvocationCompletedDetails.BuilderrequestId(String requestId)The request ID for the invocation.InvocationCompletedDetails.BuilderstartTimestamp(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
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 Detail
-
startTimestamp
InvocationCompletedDetails.Builder startTimestamp(Instant 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
InvocationCompletedDetails.Builder endTimestamp(Instant 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
InvocationCompletedDetails.Builder requestId(String 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
InvocationCompletedDetails.Builder error(EventError 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
default InvocationCompletedDetails.Builder error(Consumer<EventError.Builder> 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:
error(EventError)
-
-