Class InvocationCompletedDetails
- java.lang.Object
-
- software.amazon.awssdk.services.lambda.model.InvocationCompletedDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InvocationCompletedDetails.Builder,InvocationCompletedDetails>
@Generated("software.amazon.awssdk:codegen") public final class InvocationCompletedDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InvocationCompletedDetails.Builder,InvocationCompletedDetails>
Details about a function invocation that completed.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInvocationCompletedDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InvocationCompletedDetails.Builderbuilder()InstantendTimestamp()The date and time when the invocation ended, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)EventErrorerror()Details about the invocation failure.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringrequestId()The request ID for the invocation.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends InvocationCompletedDetails.Builder>serializableBuilderClass()InstantstartTimestamp()The date and time when the invocation started, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).InvocationCompletedDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
startTimestamp
public final Instant startTimestamp()
The date and time when the invocation started, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
- Returns:
- The date and time when the invocation started, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
-
endTimestamp
public final Instant endTimestamp()
The date and time when the invocation ended, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
- Returns:
- The date and time when the invocation ended, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
-
requestId
public final String requestId()
The request ID for the invocation.
- Returns:
- The request ID for the invocation.
-
error
public final EventError error()
Details about the invocation failure.
- Returns:
- Details about the invocation failure.
-
toBuilder
public InvocationCompletedDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InvocationCompletedDetails.Builder,InvocationCompletedDetails>
-
builder
public static InvocationCompletedDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends InvocationCompletedDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-