public static final class StageOptions.Builder
extends java.lang.Object
StageOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StageOptions.Builder |
autoDeploy(java.lang.Boolean autoDeploy)
Sets the value of
StageOptions.getAutoDeploy() |
StageOptions |
build()
Builds the configured instance.
|
StageOptions.Builder |
domainMapping(DomainMappingOptions domainMapping)
Sets the value of
StageOptions.getDomainMapping() |
StageOptions.Builder |
throttle(ThrottleSettings throttle)
Sets the value of
StageOptions.getThrottle() |
public StageOptions.Builder autoDeploy(java.lang.Boolean autoDeploy)
StageOptions.getAutoDeploy()
autoDeploy
- Whether updates to an API automatically trigger a new deployment.this
public StageOptions.Builder domainMapping(DomainMappingOptions domainMapping)
StageOptions.getDomainMapping()
domainMapping
- The options for custom domain and api mapping.this
public StageOptions.Builder throttle(ThrottleSettings throttle)
StageOptions.getThrottle()
throttle
- Throttle settings for the routes of this stage.this
public StageOptions build()
StageOptions
java.lang.NullPointerException
- if any required attribute was not provided