Class LogConfig

    • Method Detail

      • includeDetail

        public final IncludeDetail includeDetail()

        Whether EventBridge include detailed event information in the records it generates. Detailed data can be useful for troubleshooting and debugging. This information includes details of the event itself, as well as target details.

        For more information, see Including detail data in event bus logs in the EventBridge User Guide.

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

        Returns:
        Whether EventBridge include detailed event information in the records it generates. Detailed data can be useful for troubleshooting and debugging. This information includes details of the event itself, as well as target details.

        For more information, see Including detail data in event bus logs in the EventBridge User Guide.

        See Also:
        IncludeDetail
      • includeDetailAsString

        public final String includeDetailAsString()

        Whether EventBridge include detailed event information in the records it generates. Detailed data can be useful for troubleshooting and debugging. This information includes details of the event itself, as well as target details.

        For more information, see Including detail data in event bus logs in the EventBridge User Guide.

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

        Returns:
        Whether EventBridge include detailed event information in the records it generates. Detailed data can be useful for troubleshooting and debugging. This information includes details of the event itself, as well as target details.

        For more information, see Including detail data in event bus logs in the EventBridge User Guide.

        See Also:
        IncludeDetail
      • level

        public final Level level()

        The level of logging detail to include. This applies to all log destinations for the event bus.

        For more information, see Specifying event bus log level in the EventBridge User Guide.

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

        Returns:
        The level of logging detail to include. This applies to all log destinations for the event bus.

        For more information, see Specifying event bus log level in the EventBridge User Guide.

        See Also:
        Level
      • levelAsString

        public final String levelAsString()

        The level of logging detail to include. This applies to all log destinations for the event bus.

        For more information, see Specifying event bus log level in the EventBridge User Guide.

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

        Returns:
        The level of logging detail to include. This applies to all log destinations for the event bus.

        For more information, see Specifying event bus log level in the EventBridge User Guide.

        See Also:
        Level
      • 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)