Class FieldsData
java.lang.Object
software.amazon.awssdk.services.cloudwatchlogs.model.FieldsData
- All Implemented Interfaces:
Serializable,SdkPojo,GetLogObjectResponseStream,ToCopyableBuilder<FieldsData.Builder,FieldsData>
- Direct Known Subclasses:
DefaultFields
@Generated("software.amazon.awssdk:codegen")
public class FieldsData
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<FieldsData.Builder,FieldsData>, GetLogObjectResponseStream
A structure containing the extracted fields from a log event. These fields are extracted based on the log format and can be used for structured querying and analysis.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceprotected static classNested classes/interfaces inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.GetLogObjectResponseStream
GetLogObjectResponseStream.EventType -
Field Summary
Fields inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.GetLogObjectResponseStream
UNKNOWN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalls the appropriate visit method depending on the subtype ofFieldsData.static FieldsData.Builderbuilder()final FieldsDatacopy(Consumer<? super FieldsData.Builder> modifier) final SdkBytesdata()The actual log data content returned in the streaming response.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends FieldsData.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.GetLogObjectResponseStream
sdkEventType
-
Constructor Details
-
FieldsData
-
-
Method Details
-
data
The actual log data content returned in the streaming response. This contains the fields and values of the log event in a structured format that can be parsed and processed by the client.
- Returns:
- The actual log data content returned in the streaming response. This contains the fields and values of the log event in a structured format that can be parsed and processed by the client.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<FieldsData.Builder,FieldsData>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
copy
- Specified by:
copyin interfaceToCopyableBuilder<FieldsData.Builder,FieldsData>
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
accept
Calls the appropriate visit method depending on the subtype ofFieldsData.- Specified by:
acceptin interfaceGetLogObjectResponseStream- Parameters:
visitor- Visitor to invoke.
-