Class MessageNotFound.Builder
- java.lang.Object
-
- com.courier.api.resources.commons.types.MessageNotFound.Builder
-
- All Implemented Interfaces:
MessageNotFound._FinalStage,MessageNotFound.MessageStage
- Enclosing class:
- MessageNotFound
public static final class MessageNotFound.Builder extends java.lang.Object implements MessageNotFound.MessageStage, MessageNotFound._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageNotFoundbuild()MessageNotFound.Builderfrom(MessageNotFound other)MessageNotFound._FinalStagemessage(java.lang.String message)A message describing the error that occurred.
-
-
-
Method Detail
-
from
public MessageNotFound.Builder from(MessageNotFound other)
- Specified by:
fromin interfaceMessageNotFound.MessageStage
-
message
public MessageNotFound._FinalStage message(java.lang.String message)
A message describing the error that occurred.
- Specified by:
messagein interfaceMessageNotFound.MessageStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public MessageNotFound build()
- Specified by:
buildin interfaceMessageNotFound._FinalStage
-
-