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