Interface RouteSettings.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RouteSettings.Builder,RouteSettings>, SdkBuilder<RouteSettings.Builder,RouteSettings>, SdkPojo
Enclosing class:
RouteSettings

public static interface RouteSettings.Builder extends SdkPojo, CopyableBuilder<RouteSettings.Builder,RouteSettings>
  • Method Details

    • dataTraceEnabled

      RouteSettings.Builder dataTraceEnabled(Boolean 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.

      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:
      Returns a reference to this object so that method calls can be chained together.
    • detailedMetricsEnabled

      RouteSettings.Builder detailedMetricsEnabled(Boolean detailedMetricsEnabled)

      Specifies whether detailed metrics are enabled.

      Parameters:
      detailedMetricsEnabled - Specifies whether detailed metrics are enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • loggingLevel

      RouteSettings.Builder loggingLevel(String loggingLevel)

      Specifies the logging level for this route: INFO, ERROR, or OFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.

      Parameters:
      loggingLevel - Specifies the logging level for this route: INFO, ERROR, or OFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • loggingLevel

      RouteSettings.Builder loggingLevel(LoggingLevel loggingLevel)

      Specifies the logging level for this route: INFO, ERROR, or OFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.

      Parameters:
      loggingLevel - Specifies the logging level for this route: INFO, ERROR, or OFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • throttlingBurstLimit

      RouteSettings.Builder throttlingBurstLimit(Integer throttlingBurstLimit)

      Specifies the throttling burst limit.

      Parameters:
      throttlingBurstLimit - Specifies the throttling burst limit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • throttlingRateLimit

      RouteSettings.Builder throttlingRateLimit(Double throttlingRateLimit)

      Specifies the throttling rate limit.

      Parameters:
      throttlingRateLimit - Specifies the throttling rate limit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.