Interface LoggingConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LoggingConfig.Builder,,LoggingConfig> SdkBuilder<LoggingConfig.Builder,,LoggingConfig> SdkPojo
- Enclosing class:
LoggingConfig
-
Method Summary
Modifier and TypeMethodDescriptionapplicationLogLevel(String applicationLogLevel) Set this property to filter the application logs for your function that Lambda sends to CloudWatch.applicationLogLevel(ApplicationLogLevel applicationLogLevel) Set this property to filter the application logs for your function that Lambda sends to CloudWatch.The format in which Lambda sends your function's application and system logs to CloudWatch.The format in which Lambda sends your function's application and system logs to CloudWatch.The name of the Amazon CloudWatch log group the function sends logs to.systemLogLevel(String systemLogLevel) Set this property to filter the system logs for your function that Lambda sends to CloudWatch.systemLogLevel(SystemLogLevel systemLogLevel) Set this property to filter the system logs for your function that Lambda sends to CloudWatch.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
logFormat
The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
- Parameters:
logFormat- The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logFormat
The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
- Parameters:
logFormat- The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
applicationLogLevel
Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where
TRACEis the highest level andFATALis the lowest.- Parameters:
applicationLogLevel- Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, whereTRACEis the highest level andFATALis the lowest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
applicationLogLevel
Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where
TRACEis the highest level andFATALis the lowest.- Parameters:
applicationLogLevel- Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, whereTRACEis the highest level andFATALis the lowest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
systemLogLevel
Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where
DEBUGis the highest level andWARNis the lowest.- Parameters:
systemLogLevel- Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, whereDEBUGis the highest level andWARNis the lowest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
systemLogLevel
Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where
DEBUGis the highest level andWARNis the lowest.- Parameters:
systemLogLevel- Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, whereDEBUGis the highest level andWARNis the lowest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logGroup
The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default log group named
/aws/lambda/<function name>. To use a different log group, enter an existing log group or enter a new log group name.- Parameters:
logGroup- The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default log group named/aws/lambda/<function name>. To use a different log group, enter an existing log group or enter a new log group name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-