@Generated(value="software.amazon.awssdk:codegen") public final class LoggingConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LoggingConfiguration.Builder,LoggingConfiguration>
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 and you can specify filters so that you log only a subset of the logging records.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LoggingConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LoggingConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasLogDestinationConfigs()
Returns true if the LogDestinationConfigs property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasRedactedFields()
Returns true if the RedactedFields property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<String> |
logDestinationConfigs()
The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.
|
LoggingFilter |
loggingFilter()
Filtering that specifies which web requests are kept in the logs and which are dropped.
|
Boolean |
managedByFirewallManager()
Indicates whether the logging configuration was created by AWS Firewall Manager, as part of an AWS WAF policy
configuration.
|
List<FieldToMatch> |
redactedFields()
The parts of the request that you want to keep out of the logs.
|
String |
resourceArn()
The Amazon Resource Name (ARN) of the web ACL that you want to associate with
LogDestinationConfigs. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends LoggingConfiguration.Builder> |
serializableBuilderClass() |
LoggingConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resourceArn()
The Amazon Resource Name (ARN) of the web ACL that you want to associate with LogDestinationConfigs.
LogDestinationConfigs.public final boolean hasLogDestinationConfigs()
public final List<String> logDestinationConfigs()
The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasLogDestinationConfigs() to see if a value was sent in this field.
public final boolean hasRedactedFields()
public final List<FieldToMatch> redactedFields()
The parts of the request that you want to keep out of the logs. For example, if you redact the
HEADER field, the HEADER field in the firehose will be xxx.
You must use one of the following values: URI, QUERY_STRING, HEADER, or
METHOD.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRedactedFields() to see if a value was sent in this field.
HEADER field, the HEADER field in the firehose will be xxx.
You must use one of the following values: URI, QUERY_STRING,
HEADER, or METHOD.
public final Boolean managedByFirewallManager()
Indicates whether the logging configuration was created by AWS Firewall Manager, as part of an AWS WAF policy configuration. If true, only Firewall Manager can modify or delete the configuration.
public final LoggingFilter loggingFilter()
Filtering that specifies which web requests are kept in the logs and which are dropped. You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.
public LoggingConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LoggingConfiguration.Builder,LoggingConfiguration>public static LoggingConfiguration.Builder builder()
public static Class<? extends LoggingConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.