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