Class RoleRef.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.rbac.v1alpha1.RoleRef.Builder
-
- Enclosing class:
- RoleRef
public static class RoleRef.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoleRef.Builder
apiGroup(@NonNull java.lang.String apiGroup)
APIGroup is the group for the resource being referencedRoleRef
build()
RoleRef.Builder
kind(@NonNull java.lang.String kind)
Kind is the type of resource being referencedRoleRef.Builder
name(@NonNull java.lang.String name)
Name is the name of resource being referencedjava.lang.String
toString()
-
-
-
Method Detail
-
apiGroup
public RoleRef.Builder apiGroup(@NonNull @NonNull java.lang.String apiGroup)
APIGroup is the group for the resource being referenced- Returns:
this
.
-
kind
public RoleRef.Builder kind(@NonNull @NonNull java.lang.String kind)
Kind is the type of resource being referenced- Returns:
this
.
-
name
public RoleRef.Builder name(@NonNull @NonNull java.lang.String name)
Name is the name of resource being referenced- Returns:
this
.
-
build
public RoleRef build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-