Package net.stickycode.kuuty.model.v18
Class IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec extends Object
FlowSchemaSpec describes how the FlowSchema's specification looks like.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DISTINGUISHER_METHODstatic StringJSON_PROPERTY_MATCHING_PRECEDENCEstatic StringJSON_PROPERTY_PRIORITY_LEVEL_CONFIGURATIONstatic StringJSON_PROPERTY_RULES
-
Constructor Summary
Constructors Constructor Description IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_DISTINGUISHER_METHOD
public static final String JSON_PROPERTY_DISTINGUISHER_METHOD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MATCHING_PRECEDENCE
public static final String JSON_PROPERTY_MATCHING_PRECEDENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRIORITY_LEVEL_CONFIGURATION
public static final String JSON_PROPERTY_PRIORITY_LEVEL_CONFIGURATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RULES
public static final String JSON_PROPERTY_RULES
- See Also:
- Constant Field Values
-
-
Method Detail
-
distinguisherMethod
public IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec distinguisherMethod(IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod distinguisherMethod)
-
getDistinguisherMethod
@Nullable public IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod getDistinguisherMethod()
Get distinguisherMethod- Returns:
- distinguisherMethod
-
setDistinguisherMethod
public void setDistinguisherMethod(IoK8sApiFlowcontrolV1alpha1FlowDistinguisherMethod distinguisherMethod)
-
matchingPrecedence
public IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec matchingPrecedence(Integer matchingPrecedence)
-
getMatchingPrecedence
@Nullable public Integer getMatchingPrecedence()
`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.- Returns:
- matchingPrecedence
-
setMatchingPrecedence
public void setMatchingPrecedence(Integer matchingPrecedence)
-
priorityLevelConfiguration
public IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec priorityLevelConfiguration(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference priorityLevelConfiguration)
-
getPriorityLevelConfiguration
public IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference getPriorityLevelConfiguration()
Get priorityLevelConfiguration- Returns:
- priorityLevelConfiguration
-
setPriorityLevelConfiguration
public void setPriorityLevelConfiguration(IoK8sApiFlowcontrolV1alpha1PriorityLevelConfigurationReference priorityLevelConfiguration)
-
rules
public IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec rules(List<IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects> rules)
-
addRulesItem
public IoK8sApiFlowcontrolV1alpha1FlowSchemaSpec addRulesItem(IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects rulesItem)
-
getRules
@Nullable public List<IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects> getRules()
`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.- Returns:
- rules
-
setRules
public void setRules(List<IoK8sApiFlowcontrolV1alpha1PolicyRulesWithSubjects> rules)
-
-