Package org.cdk8s.plus22
Class Resource
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- org.cdk8s.plus22.Resource
-
- All Implemented Interfaces:
IResource,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
- Direct Known Subclasses:
ConfigMap,Deployment,Ingress,Job,Pod,Secret,Service,ServiceAccount,StatefulSet
@Generated(value="jsii-pacmak/1.52.1 (build 5ccc8f6)", date="2022-02-08T00:13:45.289Z") @Stability(Stable) public abstract class Resource extends software.constructs.Construct implements IResource
Base class for all Kubernetes objects in stdk8s.Represents a single resource.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.constructs.Construct
software.constructs.Construct.Builder
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
-
Nested classes/interfaces inherited from interface org.cdk8s.plus22.IResource
IResource.Jsii$Default
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedResource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedResource(software.amazon.jsii.JsiiObjectRef objRef)protectedResource(software.constructs.Construct scope, String id)Creates a new construct node.protectedResource(software.constructs.Construct scope, String id, software.constructs.ConstructOptions options)Creates a new construct node.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.cdk8s.ApiObjectgetApiObject()The underlying cdk8s API object.org.cdk8s.ApiObjectMetadataDefinitiongetMetadata()StringgetName()The name of this API object.-
Methods inherited from class software.constructs.Construct
onPrepare, onSynthesize, onValidate, toString
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
Resource
protected Resource(software.amazon.jsii.JsiiObjectRef objRef)
-
Resource
protected Resource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
Resource
@Stability(Stable) protected Resource(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable software.constructs.ConstructOptions options)Creates a new construct node.- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.options- Options.
-
Resource
@Stability(Stable) protected Resource(@NotNull software.constructs.Construct scope, @NotNull String id)Creates a new construct node.- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.
-
-