Interface LoggingConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<LoggingConfiguration.Builder,LoggingConfiguration>, SdkBuilder<LoggingConfiguration.Builder,LoggingConfiguration>, SdkPojo
Enclosing class:
LoggingConfiguration

public static interface LoggingConfiguration.Builder extends SdkPojo, CopyableBuilder<LoggingConfiguration.Builder,LoggingConfiguration>
  • Method Details

    • resourceArn

      LoggingConfiguration.Builder resourceArn(String resourceArn)

      The Amazon Resource Name (ARN) of the web ACL that you want to associate with LogDestinationConfigs.

      Parameters:
      resourceArn - The Amazon Resource Name (ARN) of the web ACL that you want to associate with LogDestinationConfigs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logDestinationConfigs

      LoggingConfiguration.Builder logDestinationConfigs(Collection<String> logDestinationConfigs)

      An array of Amazon Kinesis Data Firehose ARNs.

      Parameters:
      logDestinationConfigs - An array of Amazon Kinesis Data Firehose ARNs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logDestinationConfigs

      LoggingConfiguration.Builder logDestinationConfigs(String... logDestinationConfigs)

      An array of Amazon Kinesis Data Firehose ARNs.

      Parameters:
      logDestinationConfigs - An array of Amazon Kinesis Data Firehose ARNs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • redactedFields

      LoggingConfiguration.Builder redactedFields(Collection<FieldToMatch> redactedFields)

      The parts of the request that you want redacted from the logs. For example, if you redact the cookie field, the cookie field in the firehose will be xxx.

      Parameters:
      redactedFields - The parts of the request that you want redacted from the logs. For example, if you redact the cookie field, the cookie field in the firehose will be xxx.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • redactedFields

      LoggingConfiguration.Builder redactedFields(FieldToMatch... redactedFields)

      The parts of the request that you want redacted from the logs. For example, if you redact the cookie field, the cookie field in the firehose will be xxx.

      Parameters:
      redactedFields - The parts of the request that you want redacted from the logs. For example, if you redact the cookie field, the cookie field in the firehose will be xxx.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • redactedFields

      LoggingConfiguration.Builder redactedFields(Consumer<FieldToMatch.Builder>... redactedFields)

      The parts of the request that you want redacted from the logs. For example, if you redact the cookie field, the cookie field in the firehose will be xxx.

      This is a convenience method that creates an instance of the FieldToMatch.Builder avoiding the need to create one manually via FieldToMatch.builder().

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

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