@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoggingFilter extends Object implements Serializable, Cloneable, StructuredPojo
Filtering that specifies which web requests are kept in the logs and which are dropped, defined for a web ACL's LoggingConfiguration.
You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.
Constructor and Description |
---|
LoggingFilter() |
Modifier and Type | Method and Description |
---|---|
LoggingFilter |
clone() |
boolean |
equals(Object obj) |
String |
getDefaultBehavior()
Default handling for logs that don't match any of the specified filtering conditions.
|
List<Filter> |
getFilters()
The filters that you want to apply to the logs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultBehavior(String defaultBehavior)
Default handling for logs that don't match any of the specified filtering conditions.
|
void |
setFilters(Collection<Filter> filters)
The filters that you want to apply to the logs.
|
String |
toString()
Returns a string representation of this object.
|
LoggingFilter |
withDefaultBehavior(FilterBehavior defaultBehavior)
Default handling for logs that don't match any of the specified filtering conditions.
|
LoggingFilter |
withDefaultBehavior(String defaultBehavior)
Default handling for logs that don't match any of the specified filtering conditions.
|
LoggingFilter |
withFilters(Collection<Filter> filters)
The filters that you want to apply to the logs.
|
LoggingFilter |
withFilters(Filter... filters)
The filters that you want to apply to the logs.
|
public List<Filter> getFilters()
The filters that you want to apply to the logs.
public void setFilters(Collection<Filter> filters)
The filters that you want to apply to the logs.
filters
- The filters that you want to apply to the logs.public LoggingFilter withFilters(Filter... filters)
The filters that you want to apply to the logs.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- The filters that you want to apply to the logs.public LoggingFilter withFilters(Collection<Filter> filters)
The filters that you want to apply to the logs.
filters
- The filters that you want to apply to the logs.public void setDefaultBehavior(String defaultBehavior)
Default handling for logs that don't match any of the specified filtering conditions.
defaultBehavior
- Default handling for logs that don't match any of the specified filtering conditions.FilterBehavior
public String getDefaultBehavior()
Default handling for logs that don't match any of the specified filtering conditions.
FilterBehavior
public LoggingFilter withDefaultBehavior(String defaultBehavior)
Default handling for logs that don't match any of the specified filtering conditions.
defaultBehavior
- Default handling for logs that don't match any of the specified filtering conditions.FilterBehavior
public LoggingFilter withDefaultBehavior(FilterBehavior defaultBehavior)
Default handling for logs that don't match any of the specified filtering conditions.
defaultBehavior
- Default handling for logs that don't match any of the specified filtering conditions.FilterBehavior
public String toString()
toString
in class Object
Object.toString()
public LoggingFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.