Interface PutTransformerRequest.Builder

  • Method Details

    • 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 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:
    • overrideConfiguration

      PutTransformerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.