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
Modifier and TypeMethodDescriptionA string containing the cause of the exception thrown when executing the state's logic.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
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
-
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
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.
-