@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudwatchLogsExportConfiguration extends Object implements Serializable, Cloneable
The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB instance or DB cluster.
The EnableLogTypes
and DisableLogTypes
arrays determine which logs will be exported (or not
exported) to CloudWatch Logs.
Valid log types are: audit
(to publish audit logs) and slowquery
(to publish slow-query
logs). See Publishing Neptune
logs to Amazon CloudWatch logs.
Constructor and Description |
---|
CloudwatchLogsExportConfiguration() |
Modifier and Type | Method and Description |
---|---|
CloudwatchLogsExportConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDisableLogTypes()
The list of log types to disable.
|
List<String> |
getEnableLogTypes()
The list of log types to enable.
|
int |
hashCode() |
void |
setDisableLogTypes(Collection<String> disableLogTypes)
The list of log types to disable.
|
void |
setEnableLogTypes(Collection<String> enableLogTypes)
The list of log types to enable.
|
String |
toString()
Returns a string representation of this object.
|
CloudwatchLogsExportConfiguration |
withDisableLogTypes(Collection<String> disableLogTypes)
The list of log types to disable.
|
CloudwatchLogsExportConfiguration |
withDisableLogTypes(String... disableLogTypes)
The list of log types to disable.
|
CloudwatchLogsExportConfiguration |
withEnableLogTypes(Collection<String> enableLogTypes)
The list of log types to enable.
|
CloudwatchLogsExportConfiguration |
withEnableLogTypes(String... enableLogTypes)
The list of log types to enable.
|
public List<String> getEnableLogTypes()
The list of log types to enable.
public void setEnableLogTypes(Collection<String> enableLogTypes)
The list of log types to enable.
enableLogTypes
- The list of log types to enable.public CloudwatchLogsExportConfiguration withEnableLogTypes(String... enableLogTypes)
The list of log types to enable.
NOTE: This method appends the values to the existing list (if any). Use
setEnableLogTypes(java.util.Collection)
or withEnableLogTypes(java.util.Collection)
if you want
to override the existing values.
enableLogTypes
- The list of log types to enable.public CloudwatchLogsExportConfiguration withEnableLogTypes(Collection<String> enableLogTypes)
The list of log types to enable.
enableLogTypes
- The list of log types to enable.public List<String> getDisableLogTypes()
The list of log types to disable.
public void setDisableLogTypes(Collection<String> disableLogTypes)
The list of log types to disable.
disableLogTypes
- The list of log types to disable.public CloudwatchLogsExportConfiguration withDisableLogTypes(String... disableLogTypes)
The list of log types to disable.
NOTE: This method appends the values to the existing list (if any). Use
setDisableLogTypes(java.util.Collection)
or withDisableLogTypes(java.util.Collection)
if you
want to override the existing values.
disableLogTypes
- The list of log types to disable.public CloudwatchLogsExportConfiguration withDisableLogTypes(Collection<String> disableLogTypes)
The list of log types to disable.
disableLogTypes
- The list of log types to disable.public String toString()
toString
in class Object
Object.toString()
public CloudwatchLogsExportConfiguration clone()