Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FailProps |
build()
Builds the configured instance.
|
FailProps.Builder |
cause(java.lang.String cause)
Sets the value of
FailProps.getCause() |
FailProps.Builder |
comment(java.lang.String comment)
Sets the value of
FailProps.getComment() |
FailProps.Builder |
error(java.lang.String error)
Sets the value of
FailProps.getError() |
public FailProps.Builder cause(java.lang.String cause)
FailProps.getCause()
cause
- A description for the cause of the failure.this
public FailProps.Builder comment(java.lang.String comment)
FailProps.getComment()
comment
- An optional description for this state.this
public FailProps.Builder error(java.lang.String error)
FailProps.getError()
error
- Error code used to represent this failure.this