Class CfnTransformer.ProcessorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.logs.CfnTransformer.ProcessorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransformer.ProcessorProperty>
- Enclosing interface:
CfnTransformer.ProcessorProperty
@Stability(Stable)
public static final class CfnTransformer.ProcessorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransformer.ProcessorProperty>
A builder for
CfnTransformer.ProcessorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddKeys(IResolvable addKeys) Sets the value ofCfnTransformer.ProcessorProperty.getAddKeys()addKeys(CfnTransformer.AddKeysProperty addKeys) Sets the value ofCfnTransformer.ProcessorProperty.getAddKeys()build()Builds the configured instance.copyValue(IResolvable copyValue) Sets the value ofCfnTransformer.ProcessorProperty.getCopyValue()copyValue(CfnTransformer.CopyValueProperty copyValue) Sets the value ofCfnTransformer.ProcessorProperty.getCopyValue()csv(IResolvable csv) Sets the value ofCfnTransformer.ProcessorProperty.getCsv()Sets the value ofCfnTransformer.ProcessorProperty.getCsv()dateTimeConverter(IResolvable dateTimeConverter) Sets the value ofCfnTransformer.ProcessorProperty.getDateTimeConverter()dateTimeConverter(CfnTransformer.DateTimeConverterProperty dateTimeConverter) Sets the value ofCfnTransformer.ProcessorProperty.getDateTimeConverter()deleteKeys(IResolvable deleteKeys) Sets the value ofCfnTransformer.ProcessorProperty.getDeleteKeys()deleteKeys(CfnTransformer.DeleteKeysProperty deleteKeys) Sets the value ofCfnTransformer.ProcessorProperty.getDeleteKeys()grok(IResolvable grok) Sets the value ofCfnTransformer.ProcessorProperty.getGrok()Sets the value ofCfnTransformer.ProcessorProperty.getGrok()listToMap(IResolvable listToMap) Sets the value ofCfnTransformer.ProcessorProperty.getListToMap()listToMap(CfnTransformer.ListToMapProperty listToMap) Sets the value ofCfnTransformer.ProcessorProperty.getListToMap()lowerCaseString(IResolvable lowerCaseString) Sets the value ofCfnTransformer.ProcessorProperty.getLowerCaseString()lowerCaseString(CfnTransformer.LowerCaseStringProperty lowerCaseString) Sets the value ofCfnTransformer.ProcessorProperty.getLowerCaseString()moveKeys(IResolvable moveKeys) Sets the value ofCfnTransformer.ProcessorProperty.getMoveKeys()moveKeys(CfnTransformer.MoveKeysProperty moveKeys) Sets the value ofCfnTransformer.ProcessorProperty.getMoveKeys()parseCloudfront(IResolvable parseCloudfront) Sets the value ofCfnTransformer.ProcessorProperty.getParseCloudfront()parseCloudfront(CfnTransformer.ParseCloudfrontProperty parseCloudfront) Sets the value ofCfnTransformer.ProcessorProperty.getParseCloudfront()parseJson(IResolvable parseJson) Sets the value ofCfnTransformer.ProcessorProperty.getParseJson()parseJson(CfnTransformer.ParseJSONProperty parseJson) Sets the value ofCfnTransformer.ProcessorProperty.getParseJson()parseKeyValue(IResolvable parseKeyValue) Sets the value ofCfnTransformer.ProcessorProperty.getParseKeyValue()parseKeyValue(CfnTransformer.ParseKeyValueProperty parseKeyValue) Sets the value ofCfnTransformer.ProcessorProperty.getParseKeyValue()parsePostgres(IResolvable parsePostgres) Sets the value ofCfnTransformer.ProcessorProperty.getParsePostgres()parsePostgres(CfnTransformer.ParsePostgresProperty parsePostgres) Sets the value ofCfnTransformer.ProcessorProperty.getParsePostgres()parseRoute53(IResolvable parseRoute53) Sets the value ofCfnTransformer.ProcessorProperty.getParseRoute53()parseRoute53(CfnTransformer.ParseRoute53Property parseRoute53) Sets the value ofCfnTransformer.ProcessorProperty.getParseRoute53()parseToOcsf(IResolvable parseToOcsf) Sets the value ofCfnTransformer.ProcessorProperty.getParseToOcsf()parseToOcsf(CfnTransformer.ParseToOCSFProperty parseToOcsf) Sets the value ofCfnTransformer.ProcessorProperty.getParseToOcsf()parseVpc(IResolvable parseVpc) Sets the value ofCfnTransformer.ProcessorProperty.getParseVpc()parseVpc(CfnTransformer.ParseVPCProperty parseVpc) Sets the value ofCfnTransformer.ProcessorProperty.getParseVpc()parseWaf(IResolvable parseWaf) Sets the value ofCfnTransformer.ProcessorProperty.getParseWaf()parseWaf(CfnTransformer.ParseWAFProperty parseWaf) Sets the value ofCfnTransformer.ProcessorProperty.getParseWaf()renameKeys(IResolvable renameKeys) Sets the value ofCfnTransformer.ProcessorProperty.getRenameKeys()renameKeys(CfnTransformer.RenameKeysProperty renameKeys) Sets the value ofCfnTransformer.ProcessorProperty.getRenameKeys()splitString(IResolvable splitString) Sets the value ofCfnTransformer.ProcessorProperty.getSplitString()splitString(CfnTransformer.SplitStringProperty splitString) Sets the value ofCfnTransformer.ProcessorProperty.getSplitString()substituteString(IResolvable substituteString) Sets the value ofCfnTransformer.ProcessorProperty.getSubstituteString()substituteString(CfnTransformer.SubstituteStringProperty substituteString) Sets the value ofCfnTransformer.ProcessorProperty.getSubstituteString()trimString(IResolvable trimString) Sets the value ofCfnTransformer.ProcessorProperty.getTrimString()trimString(CfnTransformer.TrimStringProperty trimString) Sets the value ofCfnTransformer.ProcessorProperty.getTrimString()typeConverter(IResolvable typeConverter) Sets the value ofCfnTransformer.ProcessorProperty.getTypeConverter()typeConverter(CfnTransformer.TypeConverterProperty typeConverter) Sets the value ofCfnTransformer.ProcessorProperty.getTypeConverter()upperCaseString(IResolvable upperCaseString) Sets the value ofCfnTransformer.ProcessorProperty.getUpperCaseString()upperCaseString(CfnTransformer.UpperCaseStringProperty upperCaseString) Sets the value ofCfnTransformer.ProcessorProperty.getUpperCaseString()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addKeys
Sets the value ofCfnTransformer.ProcessorProperty.getAddKeys()- Parameters:
addKeys- Use this parameter to include the addKeys processor in your transformer.- Returns:
this
-
addKeys
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder addKeys(CfnTransformer.AddKeysProperty addKeys) Sets the value ofCfnTransformer.ProcessorProperty.getAddKeys()- Parameters:
addKeys- Use this parameter to include the addKeys processor in your transformer.- Returns:
this
-
copyValue
Sets the value ofCfnTransformer.ProcessorProperty.getCopyValue()- Parameters:
copyValue- Use this parameter to include the copyValue processor in your transformer.- Returns:
this
-
copyValue
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder copyValue(CfnTransformer.CopyValueProperty copyValue) Sets the value ofCfnTransformer.ProcessorProperty.getCopyValue()- Parameters:
copyValue- Use this parameter to include the copyValue processor in your transformer.- Returns:
this
-
csv
Sets the value ofCfnTransformer.ProcessorProperty.getCsv()- Parameters:
csv- Use this parameter to include the CSV processor in your transformer.- Returns:
this
-
csv
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder csv(CfnTransformer.CsvProperty csv) Sets the value ofCfnTransformer.ProcessorProperty.getCsv()- Parameters:
csv- Use this parameter to include the CSV processor in your transformer.- Returns:
this
-
dateTimeConverter
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder dateTimeConverter(IResolvable dateTimeConverter) Sets the value ofCfnTransformer.ProcessorProperty.getDateTimeConverter()- Parameters:
dateTimeConverter- Use this parameter to include the datetimeConverter processor in your transformer.- Returns:
this
-
dateTimeConverter
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder dateTimeConverter(CfnTransformer.DateTimeConverterProperty dateTimeConverter) Sets the value ofCfnTransformer.ProcessorProperty.getDateTimeConverter()- Parameters:
dateTimeConverter- Use this parameter to include the datetimeConverter processor in your transformer.- Returns:
this
-
deleteKeys
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder deleteKeys(IResolvable deleteKeys) Sets the value ofCfnTransformer.ProcessorProperty.getDeleteKeys()- Parameters:
deleteKeys- Use this parameter to include the deleteKeys processor in your transformer.- Returns:
this
-
deleteKeys
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder deleteKeys(CfnTransformer.DeleteKeysProperty deleteKeys) Sets the value ofCfnTransformer.ProcessorProperty.getDeleteKeys()- Parameters:
deleteKeys- Use this parameter to include the deleteKeys processor in your transformer.- Returns:
this
-
grok
Sets the value ofCfnTransformer.ProcessorProperty.getGrok()- Parameters:
grok- Use this parameter to include the grok processor in your transformer.- Returns:
this
-
grok
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder grok(CfnTransformer.GrokProperty grok) Sets the value ofCfnTransformer.ProcessorProperty.getGrok()- Parameters:
grok- Use this parameter to include the grok processor in your transformer.- Returns:
this
-
listToMap
Sets the value ofCfnTransformer.ProcessorProperty.getListToMap()- Parameters:
listToMap- Use this parameter to include the listToMap processor in your transformer.- Returns:
this
-
listToMap
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder listToMap(CfnTransformer.ListToMapProperty listToMap) Sets the value ofCfnTransformer.ProcessorProperty.getListToMap()- Parameters:
listToMap- Use this parameter to include the listToMap processor in your transformer.- Returns:
this
-
lowerCaseString
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder lowerCaseString(IResolvable lowerCaseString) Sets the value ofCfnTransformer.ProcessorProperty.getLowerCaseString()- Parameters:
lowerCaseString- Use this parameter to include the lowerCaseString processor in your transformer.- Returns:
this
-
lowerCaseString
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder lowerCaseString(CfnTransformer.LowerCaseStringProperty lowerCaseString) Sets the value ofCfnTransformer.ProcessorProperty.getLowerCaseString()- Parameters:
lowerCaseString- Use this parameter to include the lowerCaseString processor in your transformer.- Returns:
this
-
moveKeys
Sets the value ofCfnTransformer.ProcessorProperty.getMoveKeys()- Parameters:
moveKeys- Use this parameter to include the moveKeys processor in your transformer.- Returns:
this
-
moveKeys
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder moveKeys(CfnTransformer.MoveKeysProperty moveKeys) Sets the value ofCfnTransformer.ProcessorProperty.getMoveKeys()- Parameters:
moveKeys- Use this parameter to include the moveKeys processor in your transformer.- Returns:
this
-
parseCloudfront
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder parseCloudfront(IResolvable parseCloudfront) Sets the value ofCfnTransformer.ProcessorProperty.getParseCloudfront()- Parameters:
parseCloudfront- Use this parameter to include the parseCloudfront processor in your transformer. If you use this processor, it must be the first processor in your transformer.- Returns:
this
-
parseCloudfront
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder parseCloudfront(CfnTransformer.ParseCloudfrontProperty parseCloudfront) Sets the value ofCfnTransformer.ProcessorProperty.getParseCloudfront()- Parameters:
parseCloudfront- Use this parameter to include the parseCloudfront processor in your transformer. If you use this processor, it must be the first processor in your transformer.- Returns:
this
-
parseJson
Sets the value ofCfnTransformer.ProcessorProperty.getParseJson()- Parameters:
parseJson- Use this parameter to include the parseJSON processor in your transformer.- Returns:
this
-
parseJson
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder parseJson(CfnTransformer.ParseJSONProperty parseJson) Sets the value ofCfnTransformer.ProcessorProperty.getParseJson()- Parameters:
parseJson- Use this parameter to include the parseJSON processor in your transformer.- Returns:
this
-
parseKeyValue
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder parseKeyValue(IResolvable parseKeyValue) Sets the value ofCfnTransformer.ProcessorProperty.getParseKeyValue()- Parameters:
parseKeyValue- Use this parameter to include the parseKeyValue processor in your transformer.- Returns:
this
-
parseKeyValue
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder parseKeyValue(CfnTransformer.ParseKeyValueProperty parseKeyValue) Sets the value ofCfnTransformer.ProcessorProperty.getParseKeyValue()- Parameters:
parseKeyValue- Use this parameter to include the parseKeyValue processor in your transformer.- Returns:
this
-
parsePostgres
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder parsePostgres(IResolvable parsePostgres) Sets the value ofCfnTransformer.ProcessorProperty.getParsePostgres()- Parameters:
parsePostgres- Use this parameter to include the parsePostGres processor in your transformer. If you use this processor, it must be the first processor in your transformer.- Returns:
this
-
parsePostgres
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder parsePostgres(CfnTransformer.ParsePostgresProperty parsePostgres) Sets the value ofCfnTransformer.ProcessorProperty.getParsePostgres()- Parameters:
parsePostgres- Use this parameter to include the parsePostGres processor in your transformer. If you use this processor, it must be the first processor in your transformer.- Returns:
this
-
parseRoute53
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder parseRoute53(IResolvable parseRoute53) Sets the value ofCfnTransformer.ProcessorProperty.getParseRoute53()- Parameters:
parseRoute53- Use this parameter to include the parseRoute53 processor in your transformer. If you use this processor, it must be the first processor in your transformer.- Returns:
this
-
parseRoute53
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder parseRoute53(CfnTransformer.ParseRoute53Property parseRoute53) Sets the value ofCfnTransformer.ProcessorProperty.getParseRoute53()- Parameters:
parseRoute53- Use this parameter to include the parseRoute53 processor in your transformer. If you use this processor, it must be the first processor in your transformer.- Returns:
this
-
parseToOcsf
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder parseToOcsf(IResolvable parseToOcsf) Sets the value ofCfnTransformer.ProcessorProperty.getParseToOcsf()- Parameters:
parseToOcsf- Use this parameter to convert logs into Open Cybersecurity Schema (OCSF) format.- Returns:
this
-
parseToOcsf
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder parseToOcsf(CfnTransformer.ParseToOCSFProperty parseToOcsf) Sets the value ofCfnTransformer.ProcessorProperty.getParseToOcsf()- Parameters:
parseToOcsf- Use this parameter to convert logs into Open Cybersecurity Schema (OCSF) format.- Returns:
this
-
parseVpc
Sets the value ofCfnTransformer.ProcessorProperty.getParseVpc()- Parameters:
parseVpc- Use this parameter to include the parseVPC processor in your transformer. If you use this processor, it must be the first processor in your transformer.- Returns:
this
-
parseVpc
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder parseVpc(CfnTransformer.ParseVPCProperty parseVpc) Sets the value ofCfnTransformer.ProcessorProperty.getParseVpc()- Parameters:
parseVpc- Use this parameter to include the parseVPC processor in your transformer. If you use this processor, it must be the first processor in your transformer.- Returns:
this
-
parseWaf
Sets the value ofCfnTransformer.ProcessorProperty.getParseWaf()- Parameters:
parseWaf- Use this parameter to include the parseWAF processor in your transformer. If you use this processor, it must be the first processor in your transformer.- Returns:
this
-
parseWaf
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder parseWaf(CfnTransformer.ParseWAFProperty parseWaf) Sets the value ofCfnTransformer.ProcessorProperty.getParseWaf()- Parameters:
parseWaf- Use this parameter to include the parseWAF processor in your transformer. If you use this processor, it must be the first processor in your transformer.- Returns:
this
-
renameKeys
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder renameKeys(IResolvable renameKeys) Sets the value ofCfnTransformer.ProcessorProperty.getRenameKeys()- Parameters:
renameKeys- Use this parameter to include the renameKeys processor in your transformer.- Returns:
this
-
renameKeys
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder renameKeys(CfnTransformer.RenameKeysProperty renameKeys) Sets the value ofCfnTransformer.ProcessorProperty.getRenameKeys()- Parameters:
renameKeys- Use this parameter to include the renameKeys processor in your transformer.- Returns:
this
-
splitString
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder splitString(IResolvable splitString) Sets the value ofCfnTransformer.ProcessorProperty.getSplitString()- Parameters:
splitString- Use this parameter to include the splitString processor in your transformer.- Returns:
this
-
splitString
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder splitString(CfnTransformer.SplitStringProperty splitString) Sets the value ofCfnTransformer.ProcessorProperty.getSplitString()- Parameters:
splitString- Use this parameter to include the splitString processor in your transformer.- Returns:
this
-
substituteString
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder substituteString(IResolvable substituteString) Sets the value ofCfnTransformer.ProcessorProperty.getSubstituteString()- Parameters:
substituteString- Use this parameter to include the substituteString processor in your transformer.- Returns:
this
-
substituteString
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder substituteString(CfnTransformer.SubstituteStringProperty substituteString) Sets the value ofCfnTransformer.ProcessorProperty.getSubstituteString()- Parameters:
substituteString- Use this parameter to include the substituteString processor in your transformer.- Returns:
this
-
trimString
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder trimString(IResolvable trimString) Sets the value ofCfnTransformer.ProcessorProperty.getTrimString()- Parameters:
trimString- Use this parameter to include the trimString processor in your transformer.- Returns:
this
-
trimString
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder trimString(CfnTransformer.TrimStringProperty trimString) Sets the value ofCfnTransformer.ProcessorProperty.getTrimString()- Parameters:
trimString- Use this parameter to include the trimString processor in your transformer.- Returns:
this
-
typeConverter
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder typeConverter(IResolvable typeConverter) Sets the value ofCfnTransformer.ProcessorProperty.getTypeConverter()- Parameters:
typeConverter- Use this parameter to include the typeConverter processor in your transformer.- Returns:
this
-
typeConverter
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder typeConverter(CfnTransformer.TypeConverterProperty typeConverter) Sets the value ofCfnTransformer.ProcessorProperty.getTypeConverter()- Parameters:
typeConverter- Use this parameter to include the typeConverter processor in your transformer.- Returns:
this
-
upperCaseString
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder upperCaseString(IResolvable upperCaseString) Sets the value ofCfnTransformer.ProcessorProperty.getUpperCaseString()- Parameters:
upperCaseString- Use this parameter to include the upperCaseString processor in your transformer.- Returns:
this
-
upperCaseString
@Stability(Stable) public CfnTransformer.ProcessorProperty.Builder upperCaseString(CfnTransformer.UpperCaseStringProperty upperCaseString) Sets the value ofCfnTransformer.ProcessorProperty.getUpperCaseString()- Parameters:
upperCaseString- Use this parameter to include the upperCaseString processor in your transformer.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransformer.ProcessorProperty>- Returns:
- a new instance of
CfnTransformer.ProcessorProperty - Throws:
NullPointerException- if any required attribute was not provided
-