Class V1SubjectAccessReviewSpec
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1SubjectAccessReviewSpec
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1SubjectAccessReviewSpec
extends Object
SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddgroupsItem(String groupsItem) Add an item to the groups property in a chainable fashion.booleanSet extra in a chainable fashion.getExtra()Extra corresponds to the user.Info.GetExtra() method from the authenticator.Groups is the groups you're testing for.getUid()UID information about the requesting user.getUser()User is the user you're testing for.Set groups in a chainable fashion.inthashCode()nonResourceAttributes(V1NonResourceAttributes nonResourceAttributes) Set nonResourceAttributes in a chainable fashion.putextraItem(String key, List<String> extraItem) Set the value for the key for the extra map property in a chainable fashion.resourceAttributes(V1ResourceAttributes resourceAttributes) Set resourceAttributes in a chainable fashion.voidSet the extra property valuevoidSet the groups property valuevoidsetNonResourceAttributes(V1NonResourceAttributes nonResourceAttributes) Set the nonResourceAttributes property valuevoidsetResourceAttributes(V1ResourceAttributes resourceAttributes) Set the resourceAttributes property valuevoidSet the uid property valuevoidSet the user property valuetoString()Set uid in a chainable fashion.Set user in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_EXTRA
- See Also:
-
JSON_PROPERTY_GROUPS
- See Also:
-
JSON_PROPERTY_NON_RESOURCE_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_RESOURCE_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_UID
- See Also:
-
JSON_PROPERTY_USER
- See Also:
-
-
Constructor Details
-
V1SubjectAccessReviewSpec
public V1SubjectAccessReviewSpec()
-
-
Method Details
-
getExtra
Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.- Returns:
- the extra property value
-
setExtra
Set the extra property value -
extra
Set extra in a chainable fashion.- Returns:
- The same instance of V1SubjectAccessReviewSpec for chaining.
-
putextraItem
Set the value for the key for the extra map property in a chainable fashion.- Returns:
- The same instance of V1SubjectAccessReviewSpec for chaining.
-
getGroups
Groups is the groups you're testing for.- Returns:
- the groups property value
-
setGroups
Set the groups property value -
groups
Set groups in a chainable fashion.- Returns:
- The same instance of V1SubjectAccessReviewSpec for chaining.
-
addgroupsItem
Add an item to the groups property in a chainable fashion.- Returns:
- The same instance of V1SubjectAccessReviewSpec for chaining.
-
getNonResourceAttributes
- Returns:
- the nonResourceAttributes property value
-
setNonResourceAttributes
Set the nonResourceAttributes property value -
nonResourceAttributes
public V1SubjectAccessReviewSpec nonResourceAttributes(V1NonResourceAttributes nonResourceAttributes) Set nonResourceAttributes in a chainable fashion.- Returns:
- The same instance of V1SubjectAccessReviewSpec for chaining.
-
getResourceAttributes
- Returns:
- the resourceAttributes property value
-
setResourceAttributes
Set the resourceAttributes property value -
resourceAttributes
Set resourceAttributes in a chainable fashion.- Returns:
- The same instance of V1SubjectAccessReviewSpec for chaining.
-
getUid
UID information about the requesting user.- Returns:
- the uid property value
-
setUid
Set the uid property value -
uid
Set uid in a chainable fashion.- Returns:
- The same instance of V1SubjectAccessReviewSpec for chaining.
-
getUser
User is the user you're testing for. If you specify \"User\" but not \"Groups\", then is it interpreted as \"What if User were not a member of any groups- Returns:
- the user property value
-
setUser
Set the user property value -
user
Set user in a chainable fashion.- Returns:
- The same instance of V1SubjectAccessReviewSpec for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-