Interface TaskError.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TaskError.Builder,TaskError>,SdkBuilder<TaskError.Builder,TaskError>,SdkPojo
- Enclosing class:
- TaskError
public static interface TaskError.Builder extends SdkPojo, CopyableBuilder<TaskError.Builder,TaskError>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskError.BuildererrorCode(String errorCode)The code of the error.TaskError.BuildererrorMessage(String errorMessage)The message of the error.-
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, sdkFields
-
-
-
-
Method Detail
-
errorCode
TaskError.Builder errorCode(String errorCode)
The code of the error.
- Parameters:
errorCode- The code of the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
TaskError.Builder errorMessage(String errorMessage)
The message of the error.
- Parameters:
errorMessage- The message of the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-