Class V1CustomResourceDefinitionNames
java.lang.Object
io.kubernetes.client.openapi.models.V1CustomResourceDefinitionNames
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[Etc/UTC]")
public class V1CustomResourceDefinitionNames
extends Object
CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCategoriesItem
(String categoriesItem) addShortNamesItem
(String shortNamesItem) categories
(List<String> categories) boolean
categories is a list of grouped resources this custom resource belongs to (e.g.getKind()
kind is the serialized kind of the resource.listKind is the serialized kind of the list for this resource.plural is the plural name of the resource to serve.shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`.singular is the singular name of the resource.int
hashCode()
void
setCategories
(List<String> categories) void
void
setListKind
(String listKind) void
void
setShortNames
(List<String> shortNames) void
setSingular
(String singular) shortNames
(List<String> shortNames) toString()
-
Field Details
-
SERIALIZED_NAME_CATEGORIES
- See Also:
-
SERIALIZED_NAME_KIND
- See Also:
-
SERIALIZED_NAME_LIST_KIND
- See Also:
-
SERIALIZED_NAME_PLURAL
- See Also:
-
SERIALIZED_NAME_SHORT_NAMES
- See Also:
-
SERIALIZED_NAME_SINGULAR
- See Also:
-
-
Constructor Details
-
V1CustomResourceDefinitionNames
public V1CustomResourceDefinitionNames()
-
-
Method Details
-
categories
-
addCategoriesItem
-
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`.- Returns:
- categories
-
setCategories
-
kind
-
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.- Returns:
- kind
-
setKind
-
listKind
-
getListKind
listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\".- Returns:
- listKind
-
setListKind
-
plural
-
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.- Returns:
- plural
-
setPlural
-
shortNames
-
addShortNamesItem
-
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.- Returns:
- shortNames
-
setShortNames
-
singular
-
getSingular
singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.- Returns:
- singular
-
setSingular
-
equals
-
hashCode
public int hashCode() -
toString
-