Interface GenerationErrorDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GenerationErrorDetail.Builder,,GenerationErrorDetail> SdkBuilder<GenerationErrorDetail.Builder,,GenerationErrorDetail> SdkPojo
- Enclosing class:
GenerationErrorDetail
@Mutable
@NotThreadSafe
public static interface GenerationErrorDetail.Builder
extends SdkPojo, CopyableBuilder<GenerationErrorDetail.Builder,GenerationErrorDetail>
-
Method Summary
Modifier and TypeMethodDescriptionThe number of sessions and traces that failed with this error code.The error code, for exampleACCESS_DENIEDorEXPIRED_CREDENTIALS.errorMessage(String errorMessage) A description of the error.sessionIds(String... sessionIds) Up to 10 of the sessions that failed with this error code.sessionIds(Collection<String> sessionIds) Up to 10 of the sessions that failed with this error code.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
-
errorCode
The error code, for example
ACCESS_DENIEDorEXPIRED_CREDENTIALS. New codes can be added.- Parameters:
errorCode- The error code, for exampleACCESS_DENIEDorEXPIRED_CREDENTIALS. New codes can be added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
A description of the error.
- Parameters:
errorMessage- A description of the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
count
The number of sessions and traces that failed with this error code. Absent for a generation that finished before failures were counted by code. In that case,
sessionIdsis a sample.- Parameters:
count- The number of sessions and traces that failed with this error code. Absent for a generation that finished before failures were counted by code. In that case,sessionIdsis a sample.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionIds
Up to 10 of the sessions that failed with this error code. Each entry is a session ID, or the ID of a trace named in the request.
- Parameters:
sessionIds- Up to 10 of the sessions that failed with this error code. Each entry is a session ID, or the ID of a trace named in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionIds
Up to 10 of the sessions that failed with this error code. Each entry is a session ID, or the ID of a trace named in the request.
- Parameters:
sessionIds- Up to 10 of the sessions that failed with this error code. Each entry is a session ID, or the ID of a trace named in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-