@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LogConfig extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon 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 AppSync assumes to publish to CloudWatch logs in your account.
|
Boolean |
getExcludeVerboseContent()
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping
templates, regardless of logging level.
|
String |
getFieldLogLevel()
The field logging level.
|
int |
hashCode() |
Boolean |
isExcludeVerboseContent()
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping
templates, regardless of logging level.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
The service role that AppSync assumes to publish to CloudWatch logs in your account.
|
void |
setExcludeVerboseContent(Boolean excludeVerboseContent)
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping
templates, regardless of logging level.
|
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 AppSync assumes to publish to CloudWatch logs in your account.
|
LogConfig |
withExcludeVerboseContent(Boolean excludeVerboseContent)
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping
templates, regardless of logging level.
|
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.
FieldLogLevel
public 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.
FieldLogLevel
public 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.
FieldLogLevel
public 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.
FieldLogLevel
public void setCloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
The service role that AppSync assumes to publish to CloudWatch logs in your account.
cloudWatchLogsRoleArn
- The service role that AppSync assumes to publish to CloudWatch logs in your account.public String getCloudWatchLogsRoleArn()
The service role that AppSync assumes to publish to CloudWatch logs in your account.
public LogConfig withCloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
The service role that AppSync assumes to publish to CloudWatch logs in your account.
cloudWatchLogsRoleArn
- The service role that AppSync assumes to publish to CloudWatch logs in your account.public void setExcludeVerboseContent(Boolean excludeVerboseContent)
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.
excludeVerboseContent
- Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping
templates, regardless of logging level.public Boolean getExcludeVerboseContent()
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.
public LogConfig withExcludeVerboseContent(Boolean excludeVerboseContent)
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.
excludeVerboseContent
- Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping
templates, regardless of logging level.public Boolean isExcludeVerboseContent()
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.