@Generated(value="software.amazon.awssdk:codegen") public final class LogConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LogConfig.Builder,LogConfig>
The Amazon CloudWatch Logs configuration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LogConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LogConfig.Builder |
builder() |
String |
cloudWatchLogsRoleArn()
The service role that AppSync assumes to publish to CloudWatch logs in your account.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Boolean |
excludeVerboseContent()
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping
templates, regardless of logging level.
|
FieldLogLevel |
fieldLogLevel()
The field logging level.
|
String |
fieldLogLevelAsString()
The field logging level.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends LogConfig.Builder> |
serializableBuilderClass() |
LogConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
If the service returns an enum value that is not available in the current SDK version, fieldLogLevel
will return FieldLogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fieldLogLevelAsString().
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.
FieldLogLevelpublic final String fieldLogLevelAsString()
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.
If the service returns an enum value that is not available in the current SDK version, fieldLogLevel
will return FieldLogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fieldLogLevelAsString().
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.
FieldLogLevelpublic final String cloudWatchLogsRoleArn()
The service role that AppSync assumes to publish to CloudWatch logs in your account.
public final Boolean excludeVerboseContent()
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.
public LogConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LogConfig.Builder,LogConfig>public static LogConfig.Builder builder()
public static Class<? extends LogConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.