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 Details

    • transformerConfig

      TestTransformerRequest.Builder transformerConfig(Collection<Processor> 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

      TestTransformerRequest.Builder transformerConfig(Processor... 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

      TestTransformerRequest.Builder transformerConfig(Consumer<Processor.Builder>... 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 the Processor.Builder avoiding the need to create one manually via Processor.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to transformerConfig(List<Processor>).

      Parameters:
      transformerConfig - a consumer that will call methods on Processor.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • logEventMessages

      TestTransformerRequest.Builder logEventMessages(Collection<String> 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

      TestTransformerRequest.Builder logEventMessages(String... 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)
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
    • overrideConfiguration

      Specified by:
      overrideConfiguration in interface AwsRequest.Builder