Interface LogConfigurationType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LogConfigurationType.Builder,LogConfigurationType>,SdkBuilder<LogConfigurationType.Builder,LogConfigurationType>,SdkPojo
- Enclosing class:
- LogConfigurationType
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 advanced security features.LogConfigurationType.BuildercloudWatchLogsConfiguration(CloudWatchLogsConfigurationType cloudWatchLogsConfiguration)The CloudWatch log group destination of user pool detailed activity logs, or of user activity log export with advanced security features.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 advanced security features.LogConfigurationType.BuilderfirehoseConfiguration(FirehoseConfigurationType firehoseConfiguration)The Amazon Data Firehose stream destination of user activity log export with advanced security features.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 advanced security features.LogConfigurationType.Builders3Configuration(S3ConfigurationType s3Configuration)The Amazon S3 bucket destination of user activity log export with advanced security features.-
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 advanced security features, 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 advanced security features, 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 advanced security features, 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 advanced security features, 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 advanced security features user activity, 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 advanced security features user activity, 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 advanced security features user activity, 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 advanced security features user activity, 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 advanced security features.
- Parameters:
cloudWatchLogsConfiguration- The CloudWatch log group destination of user pool detailed activity logs, or of user activity log export with advanced security features.- 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 advanced security features.
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 advanced security features. To activate this setting, advanced security features must be active in your user pool.
- Parameters:
s3Configuration- The Amazon S3 bucket destination of user activity log export with advanced security features. To activate this setting, advanced security features must be active in your user pool.- 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 advanced security features. To activate this setting, advanced security features must be active in your user pool.
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 advanced security features. To activate this setting, advanced security features must be active in your user pool.
- Parameters:
firehoseConfiguration- The Amazon Data Firehose stream destination of user activity log export with advanced security features. To activate this setting, advanced security features must be active in your user pool.- 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 advanced security features. To activate this setting, advanced security features must be active in your user pool.
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)
-
-