Package org.cdk8s.plus25.k8s
Class CustomResourceDefinitionVersion.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.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.plus25.k8s.CustomResourceDefinitionVersion
CustomResourceDefinitionVersion.Builder, CustomResourceDefinitionVersion.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(CustomResourceDefinitionVersion.Builder builder)Constructor that initializes the object based on literal property values passed by theCustomResourceDefinitionVersion.Builder.protectedJsii$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()booleanequals(Object o)List<CustomResourceColumnDefinition>getAdditionalPrinterColumns()additionalPrinterColumns specifies additional columns returned in Table output.BooleangetDeprecated()deprecated indicates this version of the custom resource API is deprecated.StringgetDeprecationWarning()deprecationWarning overrides the default warning returned to API clients.StringgetName()name is the version name, e.g.CustomResourceValidationgetSchema()schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource.BooleangetServed()served is a flag enabling/disabling this version from being served via REST APIs.BooleangetStorage()storage indicates this version should be used when persisting custom resources to storage.CustomResourceSubresourcesgetSubresources()subresources specify what subresources this version of the defined custom resource have.inthashCode()
-
-
-
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:CustomResourceDefinitionVersionname is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at/apis/<group>/<version>/...ifservedis true.- Specified by:
getNamein interfaceCustomResourceDefinitionVersion
-
getServed
public final Boolean getServed()
Description copied from interface:CustomResourceDefinitionVersionserved is a flag enabling/disabling this version from being served via REST APIs.- Specified by:
getServedin interfaceCustomResourceDefinitionVersion
-
getStorage
public final Boolean getStorage()
Description copied from interface:CustomResourceDefinitionVersionstorage indicates this version should be used when persisting custom resources to storage.There must be exactly one version with storage=true.
- Specified by:
getStoragein interfaceCustomResourceDefinitionVersion
-
getAdditionalPrinterColumns
public final List<CustomResourceColumnDefinition> getAdditionalPrinterColumns()
Description copied from interface:CustomResourceDefinitionVersionadditionalPrinterColumns 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:
getAdditionalPrinterColumnsin interfaceCustomResourceDefinitionVersion
-
getDeprecated
public final Boolean getDeprecated()
Description copied from interface:CustomResourceDefinitionVersiondeprecated 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:
getDeprecatedin interfaceCustomResourceDefinitionVersion
-
getDeprecationWarning
public final String getDeprecationWarning()
Description copied from interface:CustomResourceDefinitionVersiondeprecationWarning overrides the default warning returned to API clients.May only be set when
deprecatedis 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:
getDeprecationWarningin interfaceCustomResourceDefinitionVersion
-
getSchema
public final CustomResourceValidation getSchema()
Description copied from interface:CustomResourceDefinitionVersionschema describes the schema used for validation, pruning, and defaulting of this version of the custom resource.- Specified by:
getSchemain interfaceCustomResourceDefinitionVersion
-
getSubresources
public final CustomResourceSubresources getSubresources()
Description copied from interface:CustomResourceDefinitionVersionsubresources specify what subresources this version of the defined custom resource have.- Specified by:
getSubresourcesin interfaceCustomResourceDefinitionVersion
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-