Interface PutTransformerRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchLogsRequest.Builder,CopyableBuilder<PutTransformerRequest.Builder,PutTransformerRequest>,SdkBuilder<PutTransformerRequest.Builder,PutTransformerRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutTransformerRequest
public static interface PutTransformerRequest.Builder extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<PutTransformerRequest.Builder,PutTransformerRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutTransformerRequest.BuilderlogGroupIdentifier(String logGroupIdentifier)Specify either the name or ARN of the log group to create the transformer for.PutTransformerRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutTransformerRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutTransformerRequest.BuildertransformerConfig(Collection<Processor> transformerConfig)This structure contains the configuration of this log transformer.PutTransformerRequest.BuildertransformerConfig(Consumer<Processor.Builder>... transformerConfig)This structure contains the configuration of this log transformer.PutTransformerRequest.BuildertransformerConfig(Processor... transformerConfig)This structure contains the configuration of this log transformer.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
build
-
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
-
logGroupIdentifier
PutTransformerRequest.Builder logGroupIdentifier(String logGroupIdentifier)
Specify either the name or ARN of the log group to create the transformer for.
- Parameters:
logGroupIdentifier- Specify either the name or ARN of the log group to create the transformer for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformerConfig
PutTransformerRequest.Builder transformerConfig(Collection<Processor> transformerConfig)
This structure contains the configuration of this log transformer. A log transformer is an array of processors, where each processor applies one type of transformation to the log events that are ingested.
- Parameters:
transformerConfig- This structure contains the configuration of this log transformer. A log transformer is an array of processors, where each processor applies one type of transformation to the log events that are ingested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformerConfig
PutTransformerRequest.Builder transformerConfig(Processor... transformerConfig)
This structure contains the configuration of this log transformer. A log transformer is an array of processors, where each processor applies one type of transformation to the log events that are ingested.
- Parameters:
transformerConfig- This structure contains the configuration of this log transformer. A log transformer is an array of processors, where each processor applies one type of transformation to the log events that are ingested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformerConfig
PutTransformerRequest.Builder transformerConfig(Consumer<Processor.Builder>... transformerConfig)
This structure contains the configuration of this log transformer. A log transformer is an array of processors, where each processor applies one type of transformation to the log events that are ingested.
This is a convenience method that creates an instance of theProcessor.Builderavoiding the need to create one manually viaProcessor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#transformerConfig(List.) - Parameters:
transformerConfig- a consumer that will call methods onProcessor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#transformerConfig(java.util.Collection)
-
overrideConfiguration
PutTransformerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutTransformerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-