Class SelfSubjectAccessReviewSpec
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.authorization.v1beta1.SelfSubjectAccessReviewSpec
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class SelfSubjectAccessReviewSpec extends java.lang.Object implements com.marcnuri.yakc.model.Model
SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SelfSubjectAccessReviewSpec.Builder
-
Constructor Summary
Constructors Constructor Description SelfSubjectAccessReviewSpec()
SelfSubjectAccessReviewSpec(NonResourceAttributes nonResourceAttributes, ResourceAttributes resourceAttributes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SelfSubjectAccessReviewSpec.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
NonResourceAttributes
getNonResourceAttributes()
ResourceAttributes
getResourceAttributes()
int
hashCode()
void
setNonResourceAttributes(NonResourceAttributes nonResourceAttributes)
void
setResourceAttributes(ResourceAttributes resourceAttributes)
SelfSubjectAccessReviewSpec.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
SelfSubjectAccessReviewSpec
public SelfSubjectAccessReviewSpec(NonResourceAttributes nonResourceAttributes, ResourceAttributes resourceAttributes)
-
SelfSubjectAccessReviewSpec
public SelfSubjectAccessReviewSpec()
-
-
Method Detail
-
builder
public static SelfSubjectAccessReviewSpec.Builder builder()
-
toBuilder
public SelfSubjectAccessReviewSpec.Builder toBuilder()
-
getNonResourceAttributes
public NonResourceAttributes getNonResourceAttributes()
-
getResourceAttributes
public ResourceAttributes getResourceAttributes()
-
setNonResourceAttributes
public void setNonResourceAttributes(NonResourceAttributes nonResourceAttributes)
-
setResourceAttributes
public void setResourceAttributes(ResourceAttributes resourceAttributes)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-