Class RoleRef
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.rbac.v1beta1.RoleRef
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class RoleRef extends java.lang.Object implements com.marcnuri.yakc.model.Model
RoleRef contains information that points to the role being used
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RoleRef.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RoleRef.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
@NonNull java.lang.String
getApiGroup()
APIGroup is the group for the resource being referenced@NonNull java.lang.String
getKind()
Kind is the type of resource being referenced@NonNull java.lang.String
getName()
Name is the name of resource being referencedint
hashCode()
void
setApiGroup(@NonNull java.lang.String apiGroup)
APIGroup is the group for the resource being referencedvoid
setKind(@NonNull java.lang.String kind)
Kind is the type of resource being referencedvoid
setName(@NonNull java.lang.String name)
Name is the name of resource being referencedRoleRef.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static RoleRef.Builder builder()
-
toBuilder
public RoleRef.Builder toBuilder()
-
getApiGroup
@NonNull public @NonNull java.lang.String getApiGroup()
APIGroup is the group for the resource being referenced
-
getKind
@NonNull public @NonNull java.lang.String getKind()
Kind is the type of resource being referenced
-
getName
@NonNull public @NonNull java.lang.String getName()
Name is the name of resource being referenced
-
setApiGroup
public void setApiGroup(@NonNull @NonNull java.lang.String apiGroup)
APIGroup is the group for the resource being referenced
-
setKind
public void setKind(@NonNull @NonNull java.lang.String kind)
Kind is the type of resource being referenced
-
setName
public void setName(@NonNull @NonNull java.lang.String name)
Name is the name of resource being referenced
-
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
-
-