Class V1NonResourceRule
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1NonResourceRule
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1NonResourceRule
extends Object
NonResourceRule holds information that describes a rule for the non-resource
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddnonResourceURLsItem
(String nonResourceURLsItem) Add an item to the nonResourceURLs property in a chainable fashion.addverbsItem
(String verbsItem) Add an item to the verbs property in a chainable fashion.boolean
NonResourceURLs is a set of partial urls that a user should have access to.getVerbs()
Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.int
hashCode()
nonResourceURLs
(List<@NotNull String> nonResourceURLs) Set nonResourceURLs in a chainable fashion.void
setNonResourceURLs
(List<@NotNull String> nonResourceURLs) Set the nonResourceURLs property valuevoid
Set the verbs property valuetoString()
Set verbs in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_VERBS
- See Also:
-
JSON_PROPERTY_NON_RESOURCE_U_R_LS
- See Also:
-
-
Constructor Details
-
V1NonResourceRule
-
-
Method Details
-
getVerbs
Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all.- Returns:
- the verbs property value
-
setVerbs
Set the verbs property value- Parameters:
verbs
- property value to set
-
verbs
Set verbs in a chainable fashion.- Returns:
- The same instance of V1NonResourceRule for chaining.
-
addverbsItem
Add an item to the verbs property in a chainable fashion.- Returns:
- The same instance of V1NonResourceRule for chaining.
-
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.- Returns:
- the nonResourceURLs property value
-
setNonResourceURLs
Set the nonResourceURLs property value- Parameters:
nonResourceURLs
- property value to set
-
nonResourceURLs
Set nonResourceURLs in a chainable fashion.- Returns:
- The same instance of V1NonResourceRule for chaining.
-
addnonResourceURLsItem
Add an item to the nonResourceURLs property in a chainable fashion.- Returns:
- The same instance of V1NonResourceRule for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-