Class V1CustomResourceDefinitionNames
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1CustomResourceDefinitionNames
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1CustomResourceDefinitionNames
extends Object
CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddcategoriesItem
(String categoriesItem) Add an item to the categories property in a chainable fashion.addshortNamesItem
(String shortNamesItem) Add an item to the shortNames property in a chainable fashion.categories
(List<String> categories) Set categories in a chainable fashion.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()
Set kind in a chainable fashion.Set listKind in a chainable fashion.Set plural in a chainable fashion.void
setCategories
(List<String> categories) Set the categories property valuevoid
Set the kind property valuevoid
setListKind
(String listKind) Set the listKind property valuevoid
Set the plural property valuevoid
setShortNames
(List<String> shortNames) Set the shortNames property valuevoid
setSingular
(String singular) Set the singular property valueshortNames
(List<String> shortNames) Set shortNames in a chainable fashion.Set singular in a chainable fashion.toString()
-
Field Details
-
JSON_PROPERTY_CATEGORIES
- See Also:
-
JSON_PROPERTY_KIND
- See Also:
-
JSON_PROPERTY_LIST_KIND
- See Also:
-
JSON_PROPERTY_PLURAL
- See Also:
-
JSON_PROPERTY_SHORT_NAMES
- See Also:
-
JSON_PROPERTY_SINGULAR
- See Also:
-
-
Constructor Details
-
V1CustomResourceDefinitionNames
-
-
Method Details
-
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:
- the categories property value
-
setCategories
Set the categories property value -
categories
Set categories in a chainable fashion.- Returns:
- The same instance of V1CustomResourceDefinitionNames for chaining.
-
addcategoriesItem
Add an item to the categories property in a chainable fashion.- Returns:
- The same instance of V1CustomResourceDefinitionNames for chaining.
-
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:
- the kind property value
-
setKind
Set the kind property value -
kind
Set kind in a chainable fashion.- Returns:
- The same instance of V1CustomResourceDefinitionNames for chaining.
-
getListKind
listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\".- Returns:
- the listKind property value
-
setListKind
Set the listKind property value -
listKind
Set listKind in a chainable fashion.- Returns:
- The same instance of V1CustomResourceDefinitionNames for chaining.
-
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:
- the plural property value
-
setPlural
Set the plural property value -
plural
Set plural in a chainable fashion.- Returns:
- The same instance of V1CustomResourceDefinitionNames for chaining.
-
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:
- the shortNames property value
-
setShortNames
Set the shortNames property value -
shortNames
Set shortNames in a chainable fashion.- Returns:
- The same instance of V1CustomResourceDefinitionNames for chaining.
-
addshortNamesItem
Add an item to the shortNames property in a chainable fashion.- Returns:
- The same instance of V1CustomResourceDefinitionNames for chaining.
-
getSingular
singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.- Returns:
- the singular property value
-
setSingular
Set the singular property value -
singular
Set singular in a chainable fashion.- Returns:
- The same instance of V1CustomResourceDefinitionNames for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-