Interface ParseToOCSF.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ParseToOCSF.Builder,ParseToOCSF>,SdkBuilder<ParseToOCSF.Builder,ParseToOCSF>,SdkPojo
- Enclosing class:
- ParseToOCSF
@Mutable @NotThreadSafe public static interface ParseToOCSF.Builder extends SdkPojo, CopyableBuilder<ParseToOCSF.Builder,ParseToOCSF>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParseToOCSF.BuildereventSource(String eventSource)Specify the service or process that produces the log events that will be converted with this processor.ParseToOCSF.BuildereventSource(EventSource eventSource)Specify the service or process that produces the log events that will be converted with this processor.ParseToOCSF.BuildermappingVersion(String mappingVersion)The version of the OCSF mapping to use for parsing log data.ParseToOCSF.BuilderocsfVersion(String ocsfVersion)Specify which version of the OCSF schema to use for the transformed log events.ParseToOCSF.BuilderocsfVersion(OCSFVersion ocsfVersion)Specify which version of the OCSF schema to use for the transformed log events.ParseToOCSF.Buildersource(String source)The path to the field in the log event that you want to parse.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
source
ParseToOCSF.Builder source(String source)
The path to the field in the log event that you want to parse. If you omit this value, the whole log message is parsed.
- Parameters:
source- The path to the field in the log event that you want to parse. If you omit this value, the whole log message is parsed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSource
ParseToOCSF.Builder eventSource(String eventSource)
Specify the service or process that produces the log events that will be converted with this processor.
- Parameters:
eventSource- Specify the service or process that produces the log events that will be converted with this processor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EventSource,EventSource
-
eventSource
ParseToOCSF.Builder eventSource(EventSource eventSource)
Specify the service or process that produces the log events that will be converted with this processor.
- Parameters:
eventSource- Specify the service or process that produces the log events that will be converted with this processor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EventSource,EventSource
-
ocsfVersion
ParseToOCSF.Builder ocsfVersion(String ocsfVersion)
Specify which version of the OCSF schema to use for the transformed log events.
- Parameters:
ocsfVersion- Specify which version of the OCSF schema to use for the transformed log events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OCSFVersion,OCSFVersion
-
ocsfVersion
ParseToOCSF.Builder ocsfVersion(OCSFVersion ocsfVersion)
Specify which version of the OCSF schema to use for the transformed log events.
- Parameters:
ocsfVersion- Specify which version of the OCSF schema to use for the transformed log events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OCSFVersion,OCSFVersion
-
mappingVersion
ParseToOCSF.Builder mappingVersion(String mappingVersion)
The version of the OCSF mapping to use for parsing log data.
- Parameters:
mappingVersion- The version of the OCSF mapping to use for parsing log data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-