Class LogConfig
- java.lang.Object
-
- software.amazon.awssdk.services.eventbridge.model.LogConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LogConfig.Builder,LogConfig>
@Generated("software.amazon.awssdk:codegen") public final class LogConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LogConfig.Builder,LogConfig>
The logging configuration settings for the event bus.
For more information, see Configuring logs for event buses in the EventBridge User Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLogConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IncludeDetailincludeDetail()Whether EventBridge include detailed event information in the records it generates.StringincludeDetailAsString()Whether EventBridge include detailed event information in the records it generates.Levellevel()The level of logging detail to include.StringlevelAsString()The level of logging detail to include.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends LogConfig.Builder>serializableBuilderClass()LogConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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,
includeDetailwill returnIncludeDetail.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromincludeDetailAsString().- 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,
includeDetailwill returnIncludeDetail.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromincludeDetailAsString().- 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,
levelwill returnLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlevelAsString().- 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,
levelwill returnLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlevelAsString().- 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
-
toBuilder
public LogConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LogConfig.Builder,LogConfig>
-
builder
public static LogConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends LogConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-