Package net.stickycode.kuuty.model.v18
Class IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule extends Object
NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_NON_RESOURCE_U_R_LSstatic StringJSON_PROPERTY_VERBS
-
Constructor Summary
Constructors Constructor Description IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRuleaddNonResourceURLsItem(String nonResourceURLsItem)IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRuleaddVerbsItem(String verbsItem)booleanequals(Object o)List<String>getNonResourceURLs()`nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty.List<String>getVerbs()`verbs` is a list of matching verbs and may not be empty.inthashCode()IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRulenonResourceURLs(List<String> nonResourceURLs)voidsetNonResourceURLs(List<String> nonResourceURLs)voidsetVerbs(List<String> verbs)StringtoString()IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRuleverbs(List<String> verbs)
-
-
-
Field Detail
-
JSON_PROPERTY_NON_RESOURCE_U_R_LS
public static final String JSON_PROPERTY_NON_RESOURCE_U_R_LS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERBS
public static final String JSON_PROPERTY_VERBS
- See Also:
- Constant Field Values
-
-
Method Detail
-
nonResourceURLs
public IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule nonResourceURLs(List<String> nonResourceURLs)
-
addNonResourceURLsItem
public IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule addNonResourceURLsItem(String nonResourceURLsItem)
-
getNonResourceURLs
public List<String> getNonResourceURLs()
`nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example: - \"/healthz\" is legal - \"/hea*\" is illegal - \"/hea\" is legal but matches nothing - \"/hea/_*\" also matches nothing - \"/healthz/_*\" matches all per-component health checks. \"*\" matches all non-resource urls. if it is present, it must be the only entry. Required.- Returns:
- nonResourceURLs
-
verbs
public IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule verbs(List<String> verbs)
-
addVerbsItem
public IoK8sApiFlowcontrolV1alpha1NonResourcePolicyRule addVerbsItem(String verbsItem)
-
getVerbs
public List<String> getVerbs()
`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required.- Returns:
- verbs
-
-