Package org.cdk8s.plus24.k8s
Class CustomResourceDefinitionNames.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.CustomResourceDefinitionNames.Jsii$Proxy
-
- All Implemented Interfaces:
CustomResourceDefinitionNames
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CustomResourceDefinitionNames
@Stability(Stable) @Internal public static final class CustomResourceDefinitionNames.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CustomResourceDefinitionNames
An implementation forCustomResourceDefinitionNames
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.k8s.CustomResourceDefinitionNames
CustomResourceDefinitionNames.Builder, CustomResourceDefinitionNames.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(CustomResourceDefinitionNames.Builder builder)
Constructor that initializes the object based on literal property values passed by theCustomResourceDefinitionNames.Builder
.protected
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
$jsii$toJson()
boolean
equals(Object o)
List<String>
getCategories()
categories is a list of grouped resources this custom resource belongs to (e.g.String
getKind()
kind is the serialized kind of the resource.String
getListKind()
listKind is the serialized kind of the list for this resource.String
getPlural()
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`. String
getSingular()
singular is the singular name of the resource.int
hashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(CustomResourceDefinitionNames.Builder builder)
Constructor that initializes the object based on literal property values passed by theCustomResourceDefinitionNames.Builder
.
-
-
Method Detail
-
getKind
public final String getKind()
Description copied from interface:CustomResourceDefinitionNames
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.- Specified by:
getKind
in interfaceCustomResourceDefinitionNames
-
getPlural
public final String getPlural()
Description copied from interface:CustomResourceDefinitionNames
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.- Specified by:
getPlural
in interfaceCustomResourceDefinitionNames
-
getCategories
public final List<String> getCategories()
Description copied from interface:CustomResourceDefinitionNames
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`.- Specified by:
getCategories
in interfaceCustomResourceDefinitionNames
-
getListKind
public final String getListKind()
Description copied from interface:CustomResourceDefinitionNames
listKind is the serialized kind of the list for this resource.Defaults to "
kind
List".Default: kind`List".
- Specified by:
getListKind
in interfaceCustomResourceDefinitionNames
-
getShortNames
public final List<String> getShortNames()
Description copied from interface:CustomResourceDefinitionNames
shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get`. It must be all lowercase.
- Specified by:
getShortNames
in interfaceCustomResourceDefinitionNames
-
getSingular
public final String getSingular()
Description copied from interface:CustomResourceDefinitionNames
singular is the singular name of the resource.It must be all lowercase. Defaults to lowercased
kind
.Default: lowercased `kind`.
- Specified by:
getSingular
in interfaceCustomResourceDefinitionNames
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-