Class ConditionalGroupDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.admin.api.dto.ConditionalGroupDTO
-
public class ConditionalGroupDTO extends Object
ConditionalGroupDTO
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_CONDITIONSstatic StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_LIMIT
-
Constructor Summary
Constructors Constructor Description ConditionalGroupDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConditionalGroupDTOconditions(List<ThrottleConditionDTO> conditions)ConditionalGroupDTOdescription(String description)booleanequals(Object o)List<ThrottleConditionDTO>getConditions()Individual throttling conditions.StringgetDescription()Description of the Conditional GroupThrottleLimitDTOgetLimit()Get limitinthashCode()ConditionalGroupDTOlimit(ThrottleLimitDTO limit)voidsetConditions(List<ThrottleConditionDTO> conditions)voidsetDescription(String description)voidsetLimit(ThrottleLimitDTO limit)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONDITIONS
public static final String SERIALIZED_NAME_CONDITIONS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LIMIT
public static final String SERIALIZED_NAME_LIMIT
- See Also:
- Constant Field Values
-
-
Method Detail
-
description
public ConditionalGroupDTO description(String description)
-
getDescription
@Nullable public String getDescription()
Description of the Conditional Group- Returns:
- description
-
setDescription
public void setDescription(String description)
-
conditions
public ConditionalGroupDTO conditions(List<ThrottleConditionDTO> conditions)
-
getConditions
public List<ThrottleConditionDTO> getConditions()
Individual throttling conditions. They can be defined as either HeaderCondition, IPCondition, JWTClaimsCondition, QueryParameterCondition Please see schemas of each of those throttling condition in Definitions section.- Returns:
- conditions
-
setConditions
public void setConditions(List<ThrottleConditionDTO> conditions)
-
limit
public ConditionalGroupDTO limit(ThrottleLimitDTO limit)
-
getLimit
public ThrottleLimitDTO getLimit()
Get limit- Returns:
- limit
-
setLimit
public void setLimit(ThrottleLimitDTO limit)
-
-