Class CfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigatewayv2.CfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty>
- Enclosing interface:
CfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty
@Stability(Stable)
public static final class CfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataTraceEnabled(Boolean dataTraceEnabled) dataTraceEnabled(IResolvable dataTraceEnabled) detailedMetricsEnabled(Boolean detailedMetricsEnabled) detailedMetricsEnabled(IResolvable detailedMetricsEnabled) loggingLevel(String loggingLevel) throttlingBurstLimit(Number throttlingBurstLimit) throttlingRateLimit(Number throttlingRateLimit)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataTraceEnabled
@Stability(Stable) public CfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty.Builder dataTraceEnabled(Boolean dataTraceEnabled) Sets the value ofCfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty.getDataTraceEnabled()- Parameters:
dataTraceEnabled- Specifies whether (true) or not (false) data trace logging is enabled for this route. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.- Returns:
this
-
dataTraceEnabled
@Stability(Stable) public CfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty.Builder dataTraceEnabled(IResolvable dataTraceEnabled) Sets the value ofCfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty.getDataTraceEnabled()- Parameters:
dataTraceEnabled- Specifies whether (true) or not (false) data trace logging is enabled for this route. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.- Returns:
this
-
detailedMetricsEnabled
@Stability(Stable) public CfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty.Builder detailedMetricsEnabled(Boolean detailedMetricsEnabled) Sets the value ofCfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty.getDetailedMetricsEnabled()- Parameters:
detailedMetricsEnabled- Specifies whether detailed metrics are enabled.- Returns:
this
-
detailedMetricsEnabled
@Stability(Stable) public CfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty.Builder detailedMetricsEnabled(IResolvable detailedMetricsEnabled) Sets the value ofCfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty.getDetailedMetricsEnabled()- Parameters:
detailedMetricsEnabled- Specifies whether detailed metrics are enabled.- Returns:
this
-
loggingLevel
@Stability(Stable) public CfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty.Builder loggingLevel(String loggingLevel) - Parameters:
loggingLevel- Specifies the logging level for this route:INFO,ERROR, orOFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.- Returns:
this
-
throttlingBurstLimit
@Stability(Stable) public CfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty.Builder throttlingBurstLimit(Number throttlingBurstLimit) Sets the value ofCfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty.getThrottlingBurstLimit()- Parameters:
throttlingBurstLimit- Specifies the throttling burst limit.- Returns:
this
-
throttlingRateLimit
@Stability(Stable) public CfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty.Builder throttlingRateLimit(Number throttlingRateLimit) Sets the value ofCfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty.getThrottlingRateLimit()- Parameters:
throttlingRateLimit- Specifies the throttling rate limit.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty>- Returns:
- a new instance of
CfnApiGatewayManagedOverridesPropsMixin.RouteSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-