Uses of Enum Class
codes.grow.packages.cloudwatchlogs.OversizePolicy
Packages that use OversizePolicy
-
Uses of OversizePolicy in codes.grow.packages.cloudwatchlogs
Methods in codes.grow.packages.cloudwatchlogs that return OversizePolicyModifier and TypeMethodDescriptionCloudWatchLogsConfig.oversizePolicy()Returns the policy for oversized events (defaultTRUNCATE).PutLogEventsOptions.oversizePolicy()Returns the value of theoversizePolicyrecord component.static OversizePolicyParsestruncate,droporerror(case-insensitive).static OversizePolicyReturns the enum constant of this class with the specified name.static OversizePolicy[]OversizePolicy.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in codes.grow.packages.cloudwatchlogs with parameters of type OversizePolicyModifier and TypeMethodDescriptionCloudWatchLogsConfig.Builder.oversizePolicy(OversizePolicy policy) Sets the policy for oversized events.PutLogEventsOptions.Builder.oversizePolicy(OversizePolicy value) Sets oversizePolicy: oversize policy (defaultconfig.oversizePolicy).static LogEventBatching.BatchPlanLogEventBatching.plan(List<LogEvent> events, int maxEventBytes, OversizePolicy policy) Applies the per-event size policy, sorts events by timestamp (stable) and splits them into batches that respect every PutLogEvents limit.static StringCloudWatchLogsExporter.recordToMessage(LogRecord record, int maxEventBytes, OversizePolicy policy) Serialises a record to its normalized JSON message.Constructors in codes.grow.packages.cloudwatchlogs with parameters of type OversizePolicyModifierConstructorDescriptionPutLogEventsOptions(Boolean autoCreate, Boolean createGroup, Integer maxEventBytes, OversizePolicy oversizePolicy) Creates an instance of aPutLogEventsOptionsrecord class.