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