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