Class CfnFunction.RouteSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnFunction.RouteSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunction.RouteSettingsProperty>
- Enclosing interface:
- CfnFunction.RouteSettingsProperty
@Stability(Stable)
public static final class CfnFunction.RouteSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunction.RouteSettingsProperty>
A builder for
CfnFunction.RouteSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dataTraceEnabled
(Boolean dataTraceEnabled) Sets the value ofCfnFunction.RouteSettingsProperty.getDataTraceEnabled()
dataTraceEnabled
(IResolvable dataTraceEnabled) Sets the value ofCfnFunction.RouteSettingsProperty.getDataTraceEnabled()
detailedMetricsEnabled
(Boolean detailedMetricsEnabled) Sets the value ofCfnFunction.RouteSettingsProperty.getDetailedMetricsEnabled()
detailedMetricsEnabled
(IResolvable detailedMetricsEnabled) Sets the value ofCfnFunction.RouteSettingsProperty.getDetailedMetricsEnabled()
loggingLevel
(String loggingLevel) Sets the value ofCfnFunction.RouteSettingsProperty.getLoggingLevel()
throttlingBurstLimit
(Number throttlingBurstLimit) Sets the value ofCfnFunction.RouteSettingsProperty.getThrottlingBurstLimit()
throttlingRateLimit
(Number throttlingRateLimit) Sets the value ofCfnFunction.RouteSettingsProperty.getThrottlingRateLimit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataTraceEnabled
@Stability(Stable) public CfnFunction.RouteSettingsProperty.Builder dataTraceEnabled(Boolean dataTraceEnabled) Sets the value ofCfnFunction.RouteSettingsProperty.getDataTraceEnabled()
- Parameters:
dataTraceEnabled
-CfnFunction.RouteSettingsProperty.DataTraceEnabled
.- Returns:
this
-
dataTraceEnabled
@Stability(Stable) public CfnFunction.RouteSettingsProperty.Builder dataTraceEnabled(IResolvable dataTraceEnabled) Sets the value ofCfnFunction.RouteSettingsProperty.getDataTraceEnabled()
- Parameters:
dataTraceEnabled
-CfnFunction.RouteSettingsProperty.DataTraceEnabled
.- Returns:
this
-
detailedMetricsEnabled
@Stability(Stable) public CfnFunction.RouteSettingsProperty.Builder detailedMetricsEnabled(Boolean detailedMetricsEnabled) Sets the value ofCfnFunction.RouteSettingsProperty.getDetailedMetricsEnabled()
- Parameters:
detailedMetricsEnabled
-CfnFunction.RouteSettingsProperty.DetailedMetricsEnabled
.- Returns:
this
-
detailedMetricsEnabled
@Stability(Stable) public CfnFunction.RouteSettingsProperty.Builder detailedMetricsEnabled(IResolvable detailedMetricsEnabled) Sets the value ofCfnFunction.RouteSettingsProperty.getDetailedMetricsEnabled()
- Parameters:
detailedMetricsEnabled
-CfnFunction.RouteSettingsProperty.DetailedMetricsEnabled
.- Returns:
this
-
loggingLevel
@Stability(Stable) public CfnFunction.RouteSettingsProperty.Builder loggingLevel(String loggingLevel) Sets the value ofCfnFunction.RouteSettingsProperty.getLoggingLevel()
- Parameters:
loggingLevel
-CfnFunction.RouteSettingsProperty.LoggingLevel
.- Returns:
this
-
throttlingBurstLimit
@Stability(Stable) public CfnFunction.RouteSettingsProperty.Builder throttlingBurstLimit(Number throttlingBurstLimit) Sets the value ofCfnFunction.RouteSettingsProperty.getThrottlingBurstLimit()
- Parameters:
throttlingBurstLimit
-CfnFunction.RouteSettingsProperty.ThrottlingBurstLimit
.- Returns:
this
-
throttlingRateLimit
@Stability(Stable) public CfnFunction.RouteSettingsProperty.Builder throttlingRateLimit(Number throttlingRateLimit) Sets the value ofCfnFunction.RouteSettingsProperty.getThrottlingRateLimit()
- Parameters:
throttlingRateLimit
-CfnFunction.RouteSettingsProperty.ThrottlingRateLimit
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFunction.RouteSettingsProperty>
- Returns:
- a new instance of
CfnFunction.RouteSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-