public static final class WebSocketStageAttributes.Builder
extends java.lang.Object
WebSocketStageAttributes
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WebSocketStageAttributes.Builder |
api(IWebSocketApi api)
Sets the value of
WebSocketStageAttributes.getApi() |
WebSocketStageAttributes |
build()
Builds the configured instance.
|
WebSocketStageAttributes.Builder |
stageName(java.lang.String stageName)
Sets the value of
StageAttributes.getStageName() |
public WebSocketStageAttributes.Builder api(IWebSocketApi api)
WebSocketStageAttributes.getApi()
api
- The API to which this stage is associated. This parameter is required.this
public WebSocketStageAttributes.Builder stageName(java.lang.String stageName)
StageAttributes.getStageName()
stageName
- The name of the stage. This parameter is required.this
public WebSocketStageAttributes build()
WebSocketStageAttributes
java.lang.NullPointerException
- if any required attribute was not provided