public class ClientQuotaFilterComponent extends Object
Modifier and Type | Method and Description |
---|---|
String |
entityType() |
boolean |
equals(Object o) |
int |
hashCode() |
Optional<String> |
match() |
static ClientQuotaFilterComponent |
ofDefaultEntity(String entityType)
Constructs and returns a filter component that matches the built-in default entity name
for the entity type.
|
static ClientQuotaFilterComponent |
ofEntity(String entityType,
String entityName)
Constructs and returns a filter component that exactly matches the provided entity
name for the entity type.
|
static ClientQuotaFilterComponent |
ofEntityType(String entityType)
Constructs and returns a filter component that matches any specified name for the
entity type.
|
String |
toString() |
public static ClientQuotaFilterComponent ofEntity(String entityType, String entityName)
entityType
- the entity type the filter component applies toentityName
- the entity name that's matched exactlypublic static ClientQuotaFilterComponent ofDefaultEntity(String entityType)
entityType
- the entity type the filter component applies topublic static ClientQuotaFilterComponent ofEntityType(String entityType)
entityType
- the entity type the filter component applies topublic String entityType()
public Optional<String> match()