Interface LogConfigurationType.Builder

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

@Mutable @NotThreadSafe public static interface LogConfigurationType.Builder extends SdkPojo, CopyableBuilder<LogConfigurationType.Builder,LogConfigurationType>
  • Method Details

    • logLevel

      The errorlevel selection of logs that a user pool sends for detailed activity logging. To send userNotification activity with information about message delivery, choose ERROR with CloudWatchLogsConfiguration. To send userAuthEvents activity with user logs from threat protection with the Plus feature plan, choose INFO with one of CloudWatchLogsConfiguration, FirehoseConfiguration, or S3Configuration.

      Parameters:
      logLevel - The errorlevel selection of logs that a user pool sends for detailed activity logging. To send userNotification activity with information about message delivery, choose ERROR with CloudWatchLogsConfiguration. To send userAuthEvents activity with user logs from threat protection with the Plus feature plan, choose INFO with one of CloudWatchLogsConfiguration, FirehoseConfiguration, or S3Configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • logLevel

      The errorlevel selection of logs that a user pool sends for detailed activity logging. To send userNotification activity with information about message delivery, choose ERROR with CloudWatchLogsConfiguration. To send userAuthEvents activity with user logs from threat protection with the Plus feature plan, choose INFO with one of CloudWatchLogsConfiguration, FirehoseConfiguration, or S3Configuration.

      Parameters:
      logLevel - The errorlevel selection of logs that a user pool sends for detailed activity logging. To send userNotification activity with information about message delivery, choose ERROR with CloudWatchLogsConfiguration. To send userAuthEvents activity with user logs from threat protection with the Plus feature plan, choose INFO with one of CloudWatchLogsConfiguration, FirehoseConfiguration, or S3Configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • eventSource

      LogConfigurationType.Builder eventSource(String eventSource)

      The source of events that your user pool sends for logging. To send error-level logs about user notification activity, set to userNotification. To send info-level logs about threat-protection user activity in user pools with the Plus feature plan, set to userAuthEvents.

      Parameters:
      eventSource - The source of events that your user pool sends for logging. To send error-level logs about user notification activity, set to userNotification. To send info-level logs about threat-protection user activity in user pools with the Plus feature plan, set to userAuthEvents.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • eventSource

      The source of events that your user pool sends for logging. To send error-level logs about user notification activity, set to userNotification. To send info-level logs about threat-protection user activity in user pools with the Plus feature plan, set to userAuthEvents.

      Parameters:
      eventSource - The source of events that your user pool sends for logging. To send error-level logs about user notification activity, set to userNotification. To send info-level logs about threat-protection user activity in user pools with the Plus feature plan, set to userAuthEvents.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cloudWatchLogsConfiguration

      LogConfigurationType.Builder cloudWatchLogsConfiguration(CloudWatchLogsConfigurationType cloudWatchLogsConfiguration)

      The CloudWatch log group destination of user pool detailed activity logs, or of user activity log export with threat protection.

      Parameters:
      cloudWatchLogsConfiguration - The CloudWatch log group destination of user pool detailed activity logs, or of user activity log export with threat protection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudWatchLogsConfiguration

      default LogConfigurationType.Builder cloudWatchLogsConfiguration(Consumer<CloudWatchLogsConfigurationType.Builder> cloudWatchLogsConfiguration)

      The CloudWatch log group destination of user pool detailed activity logs, or of user activity log export with threat protection.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cloudWatchLogsConfiguration(CloudWatchLogsConfigurationType).

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

      LogConfigurationType.Builder s3Configuration(S3ConfigurationType s3Configuration)

      The Amazon S3 bucket destination of user activity log export with threat protection. To activate this setting, your user pool must be on the Plus tier.

      Parameters:
      s3Configuration - The Amazon S3 bucket destination of user activity log export with threat protection. To activate this setting, your user pool must be on the Plus tier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Configuration

      default LogConfigurationType.Builder s3Configuration(Consumer<S3ConfigurationType.Builder> s3Configuration)

      The Amazon S3 bucket destination of user activity log export with threat protection. To activate this setting, your user pool must be on the Plus tier.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to s3Configuration(S3ConfigurationType).

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

      LogConfigurationType.Builder firehoseConfiguration(FirehoseConfigurationType firehoseConfiguration)

      The Amazon Data Firehose stream destination of user activity log export with threat protection. To activate this setting, your user pool must be on the Plus tier.

      Parameters:
      firehoseConfiguration - The Amazon Data Firehose stream destination of user activity log export with threat protection. To activate this setting, your user pool must be on the Plus tier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • firehoseConfiguration

      default LogConfigurationType.Builder firehoseConfiguration(Consumer<FirehoseConfigurationType.Builder> firehoseConfiguration)

      The Amazon Data Firehose stream destination of user activity log export with threat protection. To activate this setting, your user pool must be on the Plus tier.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to firehoseConfiguration(FirehoseConfigurationType).

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