Class AutomationThrottleOnThrottle.Builder
- java.lang.Object
-
- com.courier.api.resources.automations.types.AutomationThrottleOnThrottle.Builder
-
- All Implemented Interfaces:
AutomationThrottleOnThrottle._FinalStage,AutomationThrottleOnThrottle.NodeIdStage
- Enclosing class:
- AutomationThrottleOnThrottle
public static final class AutomationThrottleOnThrottle.Builder extends java.lang.Object implements AutomationThrottleOnThrottle.NodeIdStage, AutomationThrottleOnThrottle._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutomationThrottleOnThrottlebuild()AutomationThrottleOnThrottle.Builderfrom(AutomationThrottleOnThrottle other)AutomationThrottleOnThrottle._FinalStagenodeId(java.lang.String nodeId)The node to go to if the request is throttled
-
-
-
Method Detail
-
from
public AutomationThrottleOnThrottle.Builder from(AutomationThrottleOnThrottle other)
- Specified by:
fromin interfaceAutomationThrottleOnThrottle.NodeIdStage
-
nodeId
public AutomationThrottleOnThrottle._FinalStage nodeId(java.lang.String nodeId)
The node to go to if the request is throttled
- Specified by:
nodeIdin interfaceAutomationThrottleOnThrottle.NodeIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public AutomationThrottleOnThrottle build()
- Specified by:
buildin interfaceAutomationThrottleOnThrottle._FinalStage
-
-