@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoggingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
This is the latest version of AWS WAF, named AWS WAFV2, released in November, 2019. For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF Developer Guide.
Defines an association between Amazon Kinesis Data Firehose destinations and a web ACL resource, for logging from AWS WAF. As part of the association, you can specify parts of the standard logging fields to keep out of the logs.
| Constructor and Description |
|---|
LoggingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
LoggingConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getLogDestinationConfigs()
The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.
|
List<FieldToMatch> |
getRedactedFields()
The parts of the request that you want to keep out of the logs.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the web ACL that you want to associate with
LogDestinationConfigs. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setLogDestinationConfigs(Collection<String> logDestinationConfigs)
The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.
|
void |
setRedactedFields(Collection<FieldToMatch> redactedFields)
The parts of the request that you want to keep out of the logs.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the web ACL that you want to associate with
LogDestinationConfigs. |
String |
toString()
Returns a string representation of this object.
|
LoggingConfiguration |
withLogDestinationConfigs(Collection<String> logDestinationConfigs)
The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.
|
LoggingConfiguration |
withLogDestinationConfigs(String... logDestinationConfigs)
The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.
|
LoggingConfiguration |
withRedactedFields(Collection<FieldToMatch> redactedFields)
The parts of the request that you want to keep out of the logs.
|
LoggingConfiguration |
withRedactedFields(FieldToMatch... redactedFields)
The parts of the request that you want to keep out of the logs.
|
LoggingConfiguration |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the web ACL that you want to associate with
LogDestinationConfigs. |
public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the web ACL that you want to associate with LogDestinationConfigs.
resourceArn - The Amazon Resource Name (ARN) of the web ACL that you want to associate with
LogDestinationConfigs.public String getResourceArn()
The Amazon Resource Name (ARN) of the web ACL that you want to associate with LogDestinationConfigs.
LogDestinationConfigs.public LoggingConfiguration withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the web ACL that you want to associate with LogDestinationConfigs.
resourceArn - The Amazon Resource Name (ARN) of the web ACL that you want to associate with
LogDestinationConfigs.public List<String> getLogDestinationConfigs()
The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.
public void setLogDestinationConfigs(Collection<String> logDestinationConfigs)
The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.
logDestinationConfigs - The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.public LoggingConfiguration withLogDestinationConfigs(String... logDestinationConfigs)
The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.
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 - The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.public LoggingConfiguration withLogDestinationConfigs(Collection<String> logDestinationConfigs)
The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.
logDestinationConfigs - The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.public List<FieldToMatch> getRedactedFields()
The parts of the request that you want to keep out of the logs. For example, if you redact the cookie field, the
cookie field in the firehose will be xxx.
xxx.public void setRedactedFields(Collection<FieldToMatch> redactedFields)
The parts of the request that you want to keep out of the logs. For example, if you redact the cookie field, the
cookie field in the firehose will be xxx.
redactedFields - The parts of the request that you want to keep out of the logs. For example, if you redact the cookie
field, the cookie field in the firehose will be xxx.public LoggingConfiguration withRedactedFields(FieldToMatch... redactedFields)
The parts of the request that you want to keep out of the logs. For example, if you redact the cookie field, the
cookie field in the firehose will be xxx.
NOTE: This method appends the values to the existing list (if any). Use
setRedactedFields(java.util.Collection) or withRedactedFields(java.util.Collection) if you want
to override the existing values.
redactedFields - The parts of the request that you want to keep out of the logs. For example, if you redact the cookie
field, the cookie field in the firehose will be xxx.public LoggingConfiguration withRedactedFields(Collection<FieldToMatch> redactedFields)
The parts of the request that you want to keep out of the logs. For example, if you redact the cookie field, the
cookie field in the firehose will be xxx.
redactedFields - The parts of the request that you want to keep out of the logs. For example, if you redact the cookie
field, the cookie field in the firehose will be xxx.public String toString()
toString in class ObjectObject.toString()public LoggingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.