Class Delay.Builder
- java.lang.Object
-
- com.courier.api.resources.send.types.Delay.Builder
-
- All Implemented Interfaces:
Delay._FinalStage,Delay.DurationStage
- Enclosing class:
- Delay
public static final class Delay.Builder extends java.lang.Object implements Delay.DurationStage, Delay._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Delaybuild()Delay._FinalStageduration(int duration)The duration of the delay in milliseconds.Delay.Builderfrom(Delay other)
-
-
-
Method Detail
-
from
public Delay.Builder from(Delay other)
- Specified by:
fromin interfaceDelay.DurationStage
-
duration
public Delay._FinalStage duration(int duration)
The duration of the delay in milliseconds.
- Specified by:
durationin interfaceDelay.DurationStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public Delay build()
- Specified by:
buildin interfaceDelay._FinalStage
-
-