Interface LoggingConfig.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<LoggingConfig.Builder,LoggingConfig>
,SdkBuilder<LoggingConfig.Builder,LoggingConfig>
,SdkPojo
- Enclosing class:
- LoggingConfig
public static interface LoggingConfig.Builder extends SdkPojo, CopyableBuilder<LoggingConfig.Builder,LoggingConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LoggingConfig.Builder
applicationLogLevel(String applicationLogLevel)
Set this property to filter the application logs for your function that Lambda sends to CloudWatch.LoggingConfig.Builder
applicationLogLevel(ApplicationLogLevel applicationLogLevel)
Set this property to filter the application logs for your function that Lambda sends to CloudWatch.LoggingConfig.Builder
logFormat(String logFormat)
The format in which Lambda sends your function's application and system logs to CloudWatch.LoggingConfig.Builder
logFormat(LogFormat logFormat)
The format in which Lambda sends your function's application and system logs to CloudWatch.LoggingConfig.Builder
logGroup(String logGroup)
The name of the Amazon CloudWatch log group the function sends logs to.LoggingConfig.Builder
systemLogLevel(String systemLogLevel)
Set this property to filter the system logs for your function that Lambda sends to CloudWatch.LoggingConfig.Builder
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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
logFormat
LoggingConfig.Builder logFormat(String logFormat)
The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
-
logFormat
LoggingConfig.Builder logFormat(LogFormat logFormat)
The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
-
applicationLogLevel
LoggingConfig.Builder applicationLogLevel(String 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 and lower.
- 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 and lower.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ApplicationLogLevel
,ApplicationLogLevel
-
applicationLogLevel
LoggingConfig.Builder applicationLogLevel(ApplicationLogLevel 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 and lower.
- 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 and lower.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ApplicationLogLevel
,ApplicationLogLevel
-
systemLogLevel
LoggingConfig.Builder systemLogLevel(String 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 and lower.
- 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 and lower.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SystemLogLevel
,SystemLogLevel
-
systemLogLevel
LoggingConfig.Builder systemLogLevel(SystemLogLevel 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 and lower.
- 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 and lower.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SystemLogLevel
,SystemLogLevel
-
logGroup
LoggingConfig.Builder logGroup(String 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.
-
-