Interface MockErrorOutput.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MockErrorOutput.Builder,MockErrorOutput>,SdkBuilder<MockErrorOutput.Builder,MockErrorOutput>,SdkPojo
- Enclosing class:
- MockErrorOutput
@Mutable @NotThreadSafe public static interface MockErrorOutput.Builder extends SdkPojo, CopyableBuilder<MockErrorOutput.Builder,MockErrorOutput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MockErrorOutput.Buildercause(String causeValue)A string containing the cause of the exception thrown when executing the state's logic.MockErrorOutput.Buildererror(String error)A string denoting the error code of the exception thrown when invoking the tested state.-
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
-
error
MockErrorOutput.Builder error(String error)
A string denoting the error code of the exception thrown when invoking the tested state. This field is required if
mock.errorOutputis specified.- Parameters:
error- A string denoting the error code of the exception thrown when invoking the tested state. This field is required ifmock.errorOutputis specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cause
MockErrorOutput.Builder cause(String causeValue)
A string containing the cause of the exception thrown when executing the state's logic.
- Parameters:
causeValue- A string containing the cause of the exception thrown when executing the state's logic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-