Class RouteSettings

    • Method Detail

      • dataTraceEnabled

        public final 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.

        Returns:
        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.
      • detailedMetricsEnabled

        public final Boolean detailedMetricsEnabled()

        Specifies whether detailed metrics are enabled.

        Returns:
        Specifies whether detailed metrics are enabled.
      • loggingLevel

        public final 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.

        If the service returns an enum value that is not available in the current SDK version, loggingLevel will return LoggingLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from loggingLevelAsString().

        Returns:
        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.
        See Also:
        LoggingLevel
      • loggingLevelAsString

        public final String loggingLevelAsString()

        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.

        If the service returns an enum value that is not available in the current SDK version, loggingLevel will return LoggingLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from loggingLevelAsString().

        Returns:
        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.
        See Also:
        LoggingLevel
      • throttlingBurstLimit

        public final Integer throttlingBurstLimit()

        Specifies the throttling burst limit.

        Returns:
        Specifies the throttling burst limit.
      • throttlingRateLimit

        public final Double throttlingRateLimit()

        Specifies the throttling rate limit.

        Returns:
        Specifies the throttling rate limit.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)