Interface RouteSettings.Builder

    • Method Detail

      • 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, LoggingLevel
      • 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:
        LoggingLevel, LoggingLevel
      • 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.