@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LogConfig extends Object implements Serializable, Cloneable, StructuredPojo
The CloudWatch Logs configuration.
| Constructor and Description |
|---|
LogConfig() |
| Modifier and Type | Method and Description |
|---|---|
LogConfig |
clone() |
boolean |
equals(Object obj) |
String |
getCloudWatchLogsRoleArn()
The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
|
String |
getFieldLogLevel()
The field logging level.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
|
void |
setFieldLogLevel(String fieldLogLevel)
The field logging level.
|
String |
toString()
Returns a string representation of this object.
|
LogConfig |
withCloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
|
LogConfig |
withFieldLogLevel(FieldLogLevel fieldLogLevel)
The field logging level.
|
LogConfig |
withFieldLogLevel(String fieldLogLevel)
The field logging level.
|
public void setFieldLogLevel(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.
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.
FieldLogLevelpublic String getFieldLogLevel()
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.
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 LogConfig withFieldLogLevel(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.
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.
FieldLogLevelpublic LogConfig withFieldLogLevel(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.
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.
FieldLogLevelpublic void setCloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
cloudWatchLogsRoleArn - The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.public String getCloudWatchLogsRoleArn()
The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
public LogConfig withCloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.
cloudWatchLogsRoleArn - The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.