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
Constructors -
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- the value to be set.- Returns:
this
-
dataTraceEnabled
@Stability(Stable) public CfnFunction.RouteSettingsProperty.Builder dataTraceEnabled(IResolvable dataTraceEnabled) Sets the value ofCfnFunction.RouteSettingsProperty.getDataTraceEnabled()- Parameters:
dataTraceEnabled- the value to be set.- Returns:
this
-
detailedMetricsEnabled
@Stability(Stable) public CfnFunction.RouteSettingsProperty.Builder detailedMetricsEnabled(Boolean detailedMetricsEnabled) Sets the value ofCfnFunction.RouteSettingsProperty.getDetailedMetricsEnabled()- Parameters:
detailedMetricsEnabled- the value to be set.- Returns:
this
-
detailedMetricsEnabled
@Stability(Stable) public CfnFunction.RouteSettingsProperty.Builder detailedMetricsEnabled(IResolvable detailedMetricsEnabled) Sets the value ofCfnFunction.RouteSettingsProperty.getDetailedMetricsEnabled()- Parameters:
detailedMetricsEnabled- the value to be set.- Returns:
this
-
loggingLevel
@Stability(Stable) public CfnFunction.RouteSettingsProperty.Builder loggingLevel(String loggingLevel) Sets the value ofCfnFunction.RouteSettingsProperty.getLoggingLevel()- Parameters:
loggingLevel- the value to be set.- Returns:
this
-
throttlingBurstLimit
@Stability(Stable) public CfnFunction.RouteSettingsProperty.Builder throttlingBurstLimit(Number throttlingBurstLimit) Sets the value ofCfnFunction.RouteSettingsProperty.getThrottlingBurstLimit()- Parameters:
throttlingBurstLimit- the value to be set.- Returns:
this
-
throttlingRateLimit
@Stability(Stable) public CfnFunction.RouteSettingsProperty.Builder throttlingRateLimit(Number throttlingRateLimit) Sets the value ofCfnFunction.RouteSettingsProperty.getThrottlingRateLimit()- Parameters:
throttlingRateLimit- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunction.RouteSettingsProperty>- Returns:
- a new instance of
CfnFunction.RouteSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-