Interface LogConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LogConfig.Builder,LogConfig>,SdkBuilder<LogConfig.Builder,LogConfig>,SdkPojo
- Enclosing class:
- LogConfig
public static interface LogConfig.Builder extends SdkPojo, CopyableBuilder<LogConfig.Builder,LogConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LogConfig.BuildercloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)The service role that AppSync assumes to publish to CloudWatch logs in your account.LogConfig.BuilderexcludeVerboseContent(Boolean excludeVerboseContent)Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.LogConfig.BuilderfieldLogLevel(String fieldLogLevel)The field logging level.LogConfig.BuilderfieldLogLevel(FieldLogLevel fieldLogLevel)The field logging level.-
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
-
fieldLogLevel
LogConfig.Builder fieldLogLevel(String fieldLogLevel)
The field logging level. Values can be NONE, ERROR, or ALL.
-
NONE: No field-level logs are captured.
-
ERROR: Logs the following information only for the fields that are in error:
-
The error section in the server response.
-
Field-level errors.
-
The generated request/response functions that got resolved for error fields.
-
-
ALL: The following information is logged for all fields in the query:
-
Field-level tracing information.
-
The generated request/response functions that got resolved for each field.
-
- Parameters:
fieldLogLevel- The field logging level. Values can be NONE, ERROR, or ALL.-
NONE: No field-level logs are captured.
-
ERROR: Logs the following information only for the fields that are in error:
-
The error section in the server response.
-
Field-level errors.
-
The generated request/response functions that got resolved for error fields.
-
-
ALL: The following information is logged for all fields in the query:
-
Field-level tracing information.
-
The generated request/response functions that got resolved for each field.
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FieldLogLevel,FieldLogLevel
-
-
fieldLogLevel
LogConfig.Builder fieldLogLevel(FieldLogLevel fieldLogLevel)
The field logging level. Values can be NONE, ERROR, or ALL.
-
NONE: No field-level logs are captured.
-
ERROR: Logs the following information only for the fields that are in error:
-
The error section in the server response.
-
Field-level errors.
-
The generated request/response functions that got resolved for error fields.
-
-
ALL: The following information is logged for all fields in the query:
-
Field-level tracing information.
-
The generated request/response functions that got resolved for each field.
-
- Parameters:
fieldLogLevel- The field logging level. Values can be NONE, ERROR, or ALL.-
NONE: No field-level logs are captured.
-
ERROR: Logs the following information only for the fields that are in error:
-
The error section in the server response.
-
Field-level errors.
-
The generated request/response functions that got resolved for error fields.
-
-
ALL: The following information is logged for all fields in the query:
-
Field-level tracing information.
-
The generated request/response functions that got resolved for each field.
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FieldLogLevel,FieldLogLevel
-
-
cloudWatchLogsRoleArn
LogConfig.Builder cloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
The service role that AppSync assumes to publish to CloudWatch logs in your account.
- Parameters:
cloudWatchLogsRoleArn- The service role that AppSync assumes to publish to CloudWatch logs in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeVerboseContent
LogConfig.Builder excludeVerboseContent(Boolean excludeVerboseContent)
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.
- Parameters:
excludeVerboseContent- Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-