Class NonResourceRule
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.authorization.v1beta1.NonResourceRule
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NonResourceRuleBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NonResourceRule extends Object implements io.fabric8.kubernetes.api.builder.Editable<NonResourceRuleBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
NonResourceRule holds information that describes a rule for the non-resource- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NonResourceRule()No args constructor for use in serializationNonResourceRule(List<String> nonResourceURLs, List<String> verbs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NonResourceRuleBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getNonResourceURLs()NonResourceURLs is a set of partial urls that a user should have access to.List<String>getVerbs()Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, optionsvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetNonResourceURLs(List<String> nonResourceURLs)NonResourceURLs is a set of partial urls that a user should have access to.voidsetVerbs(List<String> verbs)Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, optionsNonResourceRuleBuildertoBuilder()
-
-
-
Method Detail
-
getNonResourceURLs
public List<String> getNonResourceURLs()
NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all.
-
setNonResourceURLs
public void setNonResourceURLs(List<String> nonResourceURLs)
NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all.
-
getVerbs
public List<String> getVerbs()
Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
-
setVerbs
public void setVerbs(List<String> verbs)
Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
-
edit
public NonResourceRuleBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<NonResourceRuleBuilder>
-
toBuilder
public NonResourceRuleBuilder toBuilder()
-
-