Class ResourceClassList.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.resource.v1alpha2.ResourceClassList.Builder
-
- Enclosing class:
- ResourceClassList
public static class ResourceClassList.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceClassList.Builder
addToItems(ResourceClass addToItems)
ResourceClassList.Builder
apiVersion(java.lang.String apiVersion)
APIVersion defines the versioned schema of this representation of an object.ResourceClassList
build()
ResourceClassList.Builder
clearItems()
ResourceClassList.Builder
items(java.util.Collection<? extends ResourceClass> items)
ResourceClassList.Builder
kind(java.lang.String kind)
Kind is a string value representing the REST resource this object represents.ResourceClassList.Builder
metadata(ListMeta metadata)
java.lang.String
toString()
-
-
-
Method Detail
-
apiVersion
public ResourceClassList.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 ResourceClassList.Builder addToItems(ResourceClass addToItems)
-
items
public ResourceClassList.Builder items(java.util.Collection<? extends ResourceClass> items)
-
clearItems
public ResourceClassList.Builder clearItems()
-
kind
public ResourceClassList.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 ResourceClassList.Builder metadata(ListMeta metadata)
- Returns:
this
.
-
build
public ResourceClassList build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-