Class EventSourceMappingLoggingConfig
- java.lang.Object
-
- software.amazon.awssdk.services.lambda.model.EventSourceMappingLoggingConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EventSourceMappingLoggingConfig.Builder,EventSourceMappingLoggingConfig>
@Generated("software.amazon.awssdk:codegen") public final class EventSourceMappingLoggingConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventSourceMappingLoggingConfig.Builder,EventSourceMappingLoggingConfig>
(Amazon MSK, and self-managed Apache Kafka only) The logging configuration for your event source. Use this configuration object to define the level of logs for your event source mapping.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEventSourceMappingLoggingConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventSourceMappingLoggingConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EventSourceMappingLoggingConfig.Builder>serializableBuilderClass()EventSourceMappingSystemLogLevelsystemLogLevel()The log level you want your event source mapping to use.StringsystemLogLevelAsString()The log level you want your event source mapping to use.EventSourceMappingLoggingConfig.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
-
systemLogLevel
public final EventSourceMappingSystemLogLevel systemLogLevel()
The log level you want your event source mapping to use. Lambda event poller only sends system logs at the selected level of detail and lower, where
DEBUGis the highest level andWARNis the lowest. For more information about these metrics, see Event source mapping logging.If the service returns an enum value that is not available in the current SDK version,
systemLogLevelwill returnEventSourceMappingSystemLogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsystemLogLevelAsString().- Returns:
- The log level you want your event source mapping to use. Lambda event poller only sends system logs at
the selected level of detail and lower, where
DEBUGis the highest level andWARNis the lowest. For more information about these metrics, see Event source mapping logging. - See Also:
EventSourceMappingSystemLogLevel
-
systemLogLevelAsString
public final String systemLogLevelAsString()
The log level you want your event source mapping to use. Lambda event poller only sends system logs at the selected level of detail and lower, where
DEBUGis the highest level andWARNis the lowest. For more information about these metrics, see Event source mapping logging.If the service returns an enum value that is not available in the current SDK version,
systemLogLevelwill returnEventSourceMappingSystemLogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsystemLogLevelAsString().- Returns:
- The log level you want your event source mapping to use. Lambda event poller only sends system logs at
the selected level of detail and lower, where
DEBUGis the highest level andWARNis the lowest. For more information about these metrics, see Event source mapping logging. - See Also:
EventSourceMappingSystemLogLevel
-
toBuilder
public EventSourceMappingLoggingConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EventSourceMappingLoggingConfig.Builder,EventSourceMappingLoggingConfig>
-
builder
public static EventSourceMappingLoggingConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends EventSourceMappingLoggingConfig.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
-
-