Package org.cdk8s.plus24.k8s
Class CustomResourceDefinitionVersion.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.CustomResourceDefinitionVersion.Jsii$Proxy
-
- All Implemented Interfaces:
CustomResourceDefinitionVersion
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CustomResourceDefinitionVersion
@Stability(Stable) @Internal public static final class CustomResourceDefinitionVersion.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CustomResourceDefinitionVersion
An implementation forCustomResourceDefinitionVersion
-
-
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.CustomResourceDefinitionVersion
CustomResourceDefinitionVersion.Builder, CustomResourceDefinitionVersion.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(CustomResourceDefinitionVersion.Builder builder)
Constructor that initializes the object based on literal property values passed by theCustomResourceDefinitionVersion.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<CustomResourceColumnDefinition>
getAdditionalPrinterColumns()
additionalPrinterColumns specifies additional columns returned in Table output.Boolean
getDeprecated()
deprecated indicates this version of the custom resource API is deprecated.String
getDeprecationWarning()
deprecationWarning overrides the default warning returned to API clients.String
getName()
name is the version name, e.g.CustomResourceValidation
getSchema()
schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource.Boolean
getServed()
served is a flag enabling/disabling this version from being served via REST APIs.Boolean
getStorage()
storage indicates this version should be used when persisting custom resources to storage.CustomResourceSubresources
getSubresources()
subresources specify what subresources this version of the defined custom resource have.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(CustomResourceDefinitionVersion.Builder builder)
Constructor that initializes the object based on literal property values passed by theCustomResourceDefinitionVersion.Builder
.
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:CustomResourceDefinitionVersion
name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis// /...` if `served` is true. - Specified by:
getName
in interfaceCustomResourceDefinitionVersion
-
getServed
public final Boolean getServed()
Description copied from interface:CustomResourceDefinitionVersion
served is a flag enabling/disabling this version from being served via REST APIs.- Specified by:
getServed
in interfaceCustomResourceDefinitionVersion
-
getStorage
public final Boolean getStorage()
Description copied from interface:CustomResourceDefinitionVersion
storage indicates this version should be used when persisting custom resources to storage.There must be exactly one version with storage=true.
- Specified by:
getStorage
in interfaceCustomResourceDefinitionVersion
-
getAdditionalPrinterColumns
public final List<CustomResourceColumnDefinition> getAdditionalPrinterColumns()
Description copied from interface:CustomResourceDefinitionVersion
additionalPrinterColumns specifies additional columns returned in Table output.See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.
- Specified by:
getAdditionalPrinterColumns
in interfaceCustomResourceDefinitionVersion
-
getDeprecated
public final Boolean getDeprecated()
Description copied from interface:CustomResourceDefinitionVersion
deprecated indicates this version of the custom resource API is deprecated.When set to true, API requests to this version receive a warning header in the server response. Defaults to false.
Default: false.
- Specified by:
getDeprecated
in interfaceCustomResourceDefinitionVersion
-
getDeprecationWarning
public final String getDeprecationWarning()
Description copied from interface:CustomResourceDefinitionVersion
deprecationWarning overrides the default warning returned to API clients.May only be set when
deprecated
is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.- Specified by:
getDeprecationWarning
in interfaceCustomResourceDefinitionVersion
-
getSchema
public final CustomResourceValidation getSchema()
Description copied from interface:CustomResourceDefinitionVersion
schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource.- Specified by:
getSchema
in interfaceCustomResourceDefinitionVersion
-
getSubresources
public final CustomResourceSubresources getSubresources()
Description copied from interface:CustomResourceDefinitionVersion
subresources specify what subresources this version of the defined custom resource have.- Specified by:
getSubresources
in interfaceCustomResourceDefinitionVersion
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-