Class CustomResourceDefinitionNames
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceDefinitionNames
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<CustomResourceDefinitionNamesBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class CustomResourceDefinitionNames extends Object implements io.fabric8.kubernetes.api.builder.Editable<CustomResourceDefinitionNamesBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CustomResourceDefinitionNames()No args constructor for use in serializationCustomResourceDefinitionNames(List<String> categories, String kind, String listKind, String plural, List<String> shortNames, String singular)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomResourceDefinitionNamesBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getCategories()categories is a list of grouped resources this custom resource belongs to (e.g.StringgetKind()kind is the serialized kind of the resource.StringgetListKind()listKind is the serialized kind of the list for this resource.StringgetPlural()plural is the plural name of the resource to serve.List<String>getShortNames()shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`.StringgetSingular()singular is the singular name of the resource.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCategories(List<String> categories)categories is a list of grouped resources this custom resource belongs to (e.g.voidsetKind(String kind)kind is the serialized kind of the resource.voidsetListKind(String listKind)listKind is the serialized kind of the list for this resource.voidsetPlural(String plural)plural is the plural name of the resource to serve.voidsetShortNames(List<String> shortNames)shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`.voidsetSingular(String singular)singular is the singular name of the resource.CustomResourceDefinitionNamesBuildertoBuilder()
-
-
-
Method Detail
-
getCategories
public List<String> getCategories()
categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.
-
setCategories
public void setCategories(List<String> categories)
categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.
-
getKind
public String getKind()
kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.
-
setKind
public void setKind(String kind)
kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.
-
getListKind
public String getListKind()
listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".
-
setListKind
public void setListKind(String listKind)
listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".
-
getPlural
public String getPlural()
plural is the plural name of the resource to serve. The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Must be all lowercase.
-
setPlural
public void setPlural(String plural)
plural is the plural name of the resource to serve. The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Must be all lowercase.
-
getShortNames
public List<String> getShortNames()
shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`. It must be all lowercase.
-
setShortNames
public void setShortNames(List<String> shortNames)
shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`. It must be all lowercase.
-
getSingular
public String getSingular()
singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.
-
setSingular
public void setSingular(String singular)
singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.
-
edit
public CustomResourceDefinitionNamesBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<CustomResourceDefinitionNamesBuilder>
-
toBuilder
public CustomResourceDefinitionNamesBuilder toBuilder()
-
-