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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LogConfigurationType.BuildercloudWatchLogsConfiguration(Consumer<CloudWatchLogsConfigurationType.Builder> cloudWatchLogsConfiguration)The CloudWatch log group destination of user pool detailed activity logs, or of user activity log export with threat protection.LogConfigurationType.BuildercloudWatchLogsConfiguration(CloudWatchLogsConfigurationType cloudWatchLogsConfiguration)The CloudWatch log group destination of user pool detailed activity logs, or of user activity log export with threat protection.LogConfigurationType.BuildereventSource(String eventSource)The source of events that your user pool sends for logging.LogConfigurationType.BuildereventSource(EventSourceName eventSource)The source of events that your user pool sends for logging.default LogConfigurationType.BuilderfirehoseConfiguration(Consumer<FirehoseConfigurationType.Builder> firehoseConfiguration)The Amazon Data Firehose stream destination of user activity log export with threat protection.LogConfigurationType.BuilderfirehoseConfiguration(FirehoseConfigurationType firehoseConfiguration)The Amazon Data Firehose stream destination of user activity log export with threat protection.LogConfigurationType.BuilderlogLevel(String logLevel)Theerrorlevelselection of logs that a user pool sends for detailed activity logging.LogConfigurationType.BuilderlogLevel(LogLevel logLevel)Theerrorlevelselection of logs that a user pool sends for detailed activity logging.default LogConfigurationType.Builders3Configuration(Consumer<S3ConfigurationType.Builder> s3Configuration)The Amazon S3 bucket destination of user activity log export with threat protection.LogConfigurationType.Builders3Configuration(S3ConfigurationType s3Configuration)The Amazon S3 bucket destination of user activity log export with threat protection.-
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 Detail
-
logLevel
LogConfigurationType.Builder logLevel(String logLevel)
The
errorlevelselection of logs that a user pool sends for detailed activity logging. To senduserNotificationactivity with information about message delivery, chooseERRORwithCloudWatchLogsConfiguration. To senduserAuthEventsactivity with user logs from threat protection with the Plus feature plan, chooseINFOwith one ofCloudWatchLogsConfiguration,FirehoseConfiguration, orS3Configuration.- Parameters:
logLevel- Theerrorlevelselection of logs that a user pool sends for detailed activity logging. To senduserNotificationactivity with information about message delivery, chooseERRORwithCloudWatchLogsConfiguration. To senduserAuthEventsactivity with user logs from threat protection with the Plus feature plan, chooseINFOwith one ofCloudWatchLogsConfiguration,FirehoseConfiguration, orS3Configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LogLevel,LogLevel
-
logLevel
LogConfigurationType.Builder logLevel(LogLevel logLevel)
The
errorlevelselection of logs that a user pool sends for detailed activity logging. To senduserNotificationactivity with information about message delivery, chooseERRORwithCloudWatchLogsConfiguration. To senduserAuthEventsactivity with user logs from threat protection with the Plus feature plan, chooseINFOwith one ofCloudWatchLogsConfiguration,FirehoseConfiguration, orS3Configuration.- Parameters:
logLevel- Theerrorlevelselection of logs that a user pool sends for detailed activity logging. To senduserNotificationactivity with information about message delivery, chooseERRORwithCloudWatchLogsConfiguration. To senduserAuthEventsactivity with user logs from threat protection with the Plus feature plan, chooseINFOwith one ofCloudWatchLogsConfiguration,FirehoseConfiguration, orS3Configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LogLevel,LogLevel
-
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 touserAuthEvents.- Parameters:
eventSource- The source of events that your user pool sends for logging. To send error-level logs about user notification activity, set touserNotification. To send info-level logs about threat-protection user activity in user pools with the Plus feature plan, set touserAuthEvents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EventSourceName,EventSourceName
-
eventSource
LogConfigurationType.Builder eventSource(EventSourceName 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 touserAuthEvents.- Parameters:
eventSource- The source of events that your user pool sends for logging. To send error-level logs about user notification activity, set touserNotification. To send info-level logs about threat-protection user activity in user pools with the Plus feature plan, set touserAuthEvents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EventSourceName,EventSourceName
-
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 theCloudWatchLogsConfigurationType.Builderavoiding the need to create one manually viaCloudWatchLogsConfigurationType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloudWatchLogsConfiguration(CloudWatchLogsConfigurationType).- Parameters:
cloudWatchLogsConfiguration- a consumer that will call methods onCloudWatchLogsConfigurationType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cloudWatchLogsConfiguration(CloudWatchLogsConfigurationType)
-
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 theS3ConfigurationType.Builderavoiding the need to create one manually viaS3ConfigurationType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Configuration(S3ConfigurationType).- Parameters:
s3Configuration- a consumer that will call methods onS3ConfigurationType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3Configuration(S3ConfigurationType)
-
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 theFirehoseConfigurationType.Builderavoiding the need to create one manually viaFirehoseConfigurationType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofirehoseConfiguration(FirehoseConfigurationType).- Parameters:
firehoseConfiguration- a consumer that will call methods onFirehoseConfigurationType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
firehoseConfiguration(FirehoseConfigurationType)
-
-