Class RoleList.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.rbac.v1.RoleList.Builder
-
- Enclosing class:
- RoleList
public static class RoleList.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoleList.Builder
addToItems(Role addToItems)
RoleList.Builder
apiVersion(java.lang.String apiVersion)
APIVersion defines the versioned schema of this representation of an object.RoleList
build()
RoleList.Builder
clearItems()
RoleList.Builder
items(java.util.Collection<? extends Role> items)
RoleList.Builder
kind(java.lang.String kind)
Kind is a string value representing the REST resource this object represents.RoleList.Builder
metadata(ListMeta metadata)
java.lang.String
toString()
-
-
-
Method Detail
-
apiVersion
public RoleList.Builder apiVersion(java.lang.String apiVersion)
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources- Returns:
this
.
-
addToItems
public RoleList.Builder addToItems(Role addToItems)
-
items
public RoleList.Builder items(java.util.Collection<? extends Role> items)
-
clearItems
public RoleList.Builder clearItems()
-
kind
public RoleList.Builder kind(java.lang.String kind)
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Returns:
this
.
-
metadata
public RoleList.Builder metadata(ListMeta metadata)
- Returns:
this
.
-
build
public RoleList build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-