@Generated(value="software.amazon.awssdk:codegen") public final class LogConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LogConfig.Builder,LogConfig>
The 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 AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
|
boolean |
equals(Object obj) |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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.
FieldLogLevel
public 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.
FieldLogLevel
public String cloudWatchLogsRoleArn()
The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
public LogConfig.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LogConfig.Builder,LogConfig>
public static LogConfig.Builder builder()
public static Class<? extends LogConfig.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.