Interface JobError.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<JobError.Builder,,JobError> SdkBuilder<JobError.Builder,,JobError> SdkPojo
- Enclosing class:
JobError
@Mutable
@NotThreadSafe
public static interface JobError.Builder
extends SdkPojo, CopyableBuilder<JobError.Builder,JobError>
-
Method Summary
Modifier and TypeMethodDescriptionError code indicating the type of error that occurred.code(JobErrorCode code) Error code indicating the type of error that occurred.Error messages providing details about the failure.messages(Collection<String> messages) Error messages providing details about the failure.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
-
code
Error code indicating the type of error that occurred.
- Parameters:
code- Error code indicating the type of error that occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
code
Error code indicating the type of error that occurred.
- Parameters:
code- Error code indicating the type of error that occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
messages
Error messages providing details about the failure.
- Parameters:
messages- Error messages providing details about the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messages
Error messages providing details about the failure.
- Parameters:
messages- Error messages providing details about the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-