Interface Reason.Builder
- Enclosing interface:
Reason
public static interface Reason.Builder
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesetCode
(ReasonCode code) see gettersetDescription
(String description) see gettersetSubCode
(ReasonSubCode subCode) see getter
-
Method Details
-
setCode
see getter- Parameters:
code
- see getter- Returns:
- Current builder
- See Also:
-
setDescription
see getter- Parameters:
description
- see getter- Returns:
- Current builder
- See Also:
-
setSubCode
see getter- Parameters:
subCode
- see getter- Returns:
- Current builder
- See Also:
-
build
Reason build()Create instance- Returns:
- The instance build with current builder values
-