public class CustomRuleDTO extends ThrottlePolicyDTO
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_KEY_TEMPLATE |
static String |
SERIALIZED_NAME_SIDDHI_QUERY |
SERIALIZED_NAME_DESCRIPTION, SERIALIZED_NAME_DISPLAY_NAME, SERIALIZED_NAME_IS_DEPLOYED, SERIALIZED_NAME_POLICY_ID, SERIALIZED_NAME_POLICY_NAME, SERIALIZED_NAME_TYPE, type| Constructor and Description |
|---|
CustomRuleDTO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getKeyTemplate()
The specific combination of attributes that are checked in the policy.
|
String |
getSiddhiQuery()
Siddhi query which represents the custom throttling policy
|
int |
hashCode() |
CustomRuleDTO |
keyTemplate(String keyTemplate) |
void |
setKeyTemplate(String keyTemplate) |
void |
setSiddhiQuery(String siddhiQuery) |
CustomRuleDTO |
siddhiQuery(String siddhiQuery) |
String |
toString() |
description, displayName, getDescription, getDisplayName, getPolicyId, getPolicyName, getType, isDeployed, isIsDeployed, policyId, policyName, setDescription, setDisplayName, setIsDeployed, setPolicyId, setPolicyName, setType, typepublic static final String SERIALIZED_NAME_SIDDHI_QUERY
public static final String SERIALIZED_NAME_KEY_TEMPLATE
public CustomRuleDTO siddhiQuery(String siddhiQuery)
public String getSiddhiQuery()
public void setSiddhiQuery(String siddhiQuery)
public CustomRuleDTO keyTemplate(String keyTemplate)
public String getKeyTemplate()
public void setKeyTemplate(String keyTemplate)
public boolean equals(Object o)
equals in class ThrottlePolicyDTOpublic int hashCode()
hashCode in class ThrottlePolicyDTOpublic String toString()
toString in class ThrottlePolicyDTOCopyright © 2021 WSO2 Inc. All rights reserved.