@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Filter extends Object implements Serializable, Cloneable, StructuredPojo
A single logging filter, used in LoggingFilter.
| Constructor and Description |
|---|
Filter() |
| Modifier and Type | Method and Description |
|---|---|
Filter |
clone() |
boolean |
equals(Object obj) |
String |
getBehavior()
How to handle logs that satisfy the filter's conditions and requirement.
|
List<Condition> |
getConditions()
Match conditions for the filter.
|
String |
getRequirement()
Logic to apply to the filtering conditions.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setBehavior(String behavior)
How to handle logs that satisfy the filter's conditions and requirement.
|
void |
setConditions(Collection<Condition> conditions)
Match conditions for the filter.
|
void |
setRequirement(String requirement)
Logic to apply to the filtering conditions.
|
String |
toString()
Returns a string representation of this object.
|
Filter |
withBehavior(FilterBehavior behavior)
How to handle logs that satisfy the filter's conditions and requirement.
|
Filter |
withBehavior(String behavior)
How to handle logs that satisfy the filter's conditions and requirement.
|
Filter |
withConditions(Collection<Condition> conditions)
Match conditions for the filter.
|
Filter |
withConditions(Condition... conditions)
Match conditions for the filter.
|
Filter |
withRequirement(FilterRequirement requirement)
Logic to apply to the filtering conditions.
|
Filter |
withRequirement(String requirement)
Logic to apply to the filtering conditions.
|
public void setBehavior(String behavior)
How to handle logs that satisfy the filter's conditions and requirement.
behavior - How to handle logs that satisfy the filter's conditions and requirement.FilterBehaviorpublic String getBehavior()
How to handle logs that satisfy the filter's conditions and requirement.
FilterBehaviorpublic Filter withBehavior(String behavior)
How to handle logs that satisfy the filter's conditions and requirement.
behavior - How to handle logs that satisfy the filter's conditions and requirement.FilterBehaviorpublic Filter withBehavior(FilterBehavior behavior)
How to handle logs that satisfy the filter's conditions and requirement.
behavior - How to handle logs that satisfy the filter's conditions and requirement.FilterBehaviorpublic void setRequirement(String requirement)
Logic to apply to the filtering conditions. You can specify that, in order to satisfy the filter, a log must match all conditions or must match at least one condition.
requirement - Logic to apply to the filtering conditions. You can specify that, in order to satisfy the filter, a log
must match all conditions or must match at least one condition.FilterRequirementpublic String getRequirement()
Logic to apply to the filtering conditions. You can specify that, in order to satisfy the filter, a log must match all conditions or must match at least one condition.
FilterRequirementpublic Filter withRequirement(String requirement)
Logic to apply to the filtering conditions. You can specify that, in order to satisfy the filter, a log must match all conditions or must match at least one condition.
requirement - Logic to apply to the filtering conditions. You can specify that, in order to satisfy the filter, a log
must match all conditions or must match at least one condition.FilterRequirementpublic Filter withRequirement(FilterRequirement requirement)
Logic to apply to the filtering conditions. You can specify that, in order to satisfy the filter, a log must match all conditions or must match at least one condition.
requirement - Logic to apply to the filtering conditions. You can specify that, in order to satisfy the filter, a log
must match all conditions or must match at least one condition.FilterRequirementpublic List<Condition> getConditions()
Match conditions for the filter.
public void setConditions(Collection<Condition> conditions)
Match conditions for the filter.
conditions - Match conditions for the filter.public Filter withConditions(Condition... conditions)
Match conditions for the filter.
NOTE: This method appends the values to the existing list (if any). Use
setConditions(java.util.Collection) or withConditions(java.util.Collection) if you want to
override the existing values.
conditions - Match conditions for the filter.public Filter withConditions(Collection<Condition> conditions)
Match conditions for the filter.
conditions - Match conditions for the filter.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2025. All rights reserved.