@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoggingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Defines how Network Firewall performs logging for a Firewall.
| Constructor and Description |
|---|
LoggingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
LoggingConfiguration |
clone() |
boolean |
equals(Object obj) |
List<LogDestinationConfig> |
getLogDestinationConfigs()
Defines the logging destinations for the logs for a firewall.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLogDestinationConfigs(Collection<LogDestinationConfig> logDestinationConfigs)
Defines the logging destinations for the logs for a firewall.
|
String |
toString()
Returns a string representation of this object.
|
LoggingConfiguration |
withLogDestinationConfigs(Collection<LogDestinationConfig> logDestinationConfigs)
Defines the logging destinations for the logs for a firewall.
|
LoggingConfiguration |
withLogDestinationConfigs(LogDestinationConfig... logDestinationConfigs)
Defines the logging destinations for the logs for a firewall.
|
public List<LogDestinationConfig> getLogDestinationConfigs()
Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups.
public void setLogDestinationConfigs(Collection<LogDestinationConfig> logDestinationConfigs)
Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups.
logDestinationConfigs - Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful
rule groups.public LoggingConfiguration withLogDestinationConfigs(LogDestinationConfig... logDestinationConfigs)
Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups.
NOTE: This method appends the values to the existing list (if any). Use
setLogDestinationConfigs(java.util.Collection) or
withLogDestinationConfigs(java.util.Collection) if you want to override the existing values.
logDestinationConfigs - Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful
rule groups.public LoggingConfiguration withLogDestinationConfigs(Collection<LogDestinationConfig> logDestinationConfigs)
Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups.
logDestinationConfigs - Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful
rule groups.public String toString()
toString in class ObjectObject.toString()public LoggingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.