Interface TestTransformerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudWatchLogsRequest.Builder
,CopyableBuilder<TestTransformerRequest.Builder,
,TestTransformerRequest> SdkBuilder<TestTransformerRequest.Builder,
,TestTransformerRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
TestTransformerRequest
-
Method Summary
Modifier and TypeMethodDescriptionlogEventMessages
(String... logEventMessages) An array of the raw log events that you want to use to test this transformer.logEventMessages
(Collection<String> logEventMessages) An array of the raw log events that you want to use to test this transformer.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.transformerConfig
(Collection<Processor> transformerConfig) This structure contains the configuration of this log transformer that you want to test.transformerConfig
(Consumer<Processor.Builder>... transformerConfig) This structure contains the configuration of this log transformer that you want to test.transformerConfig
(Processor... transformerConfig) This structure contains the configuration of this log transformer that you want to test.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 Details
-
transformerConfig
This structure contains the configuration of this log transformer that you want to test. 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 that you want to test. 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
This structure contains the configuration of this log transformer that you want to test. 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 that you want to test. 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
This structure contains the configuration of this log transformer that you want to test. 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.Builder
avoiding the need to create one manually viaProcessor.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totransformerConfig(List<Processor>)
.- 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:
-
logEventMessages
An array of the raw log events that you want to use to test this transformer.
- Parameters:
logEventMessages
- An array of the raw log events that you want to use to test this transformer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logEventMessages
An array of the raw log events that you want to use to test this transformer.
- Parameters:
logEventMessages
- An array of the raw log events that you want to use to test this transformer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
TestTransformerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
TestTransformerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-