public static final class FailState.Builder extends Object implements State.Builder
FailState
.Buildable.Utils
Modifier and Type | Method and Description |
---|---|
FailState |
build() |
FailState.Builder |
cause(String cause)
REQUIRED.
|
FailState.Builder |
comment(String comment)
OPTIONAL.
|
FailState.Builder |
error(String error)
REQUIRED.
|
public FailState.Builder comment(String comment)
comment
- New comment.public FailState.Builder error(String error)
Retrier
s or Catcher
s and can also be used for
diagnostic
purposes.error
- Error code value.public FailState.Builder cause(String cause)
cause
- Cause description.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.