Package org.cdk8s.plus24.k8s
Class ObjectReference.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.ObjectReference.Jsii$Proxy
-
- All Implemented Interfaces:
ObjectReference
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ObjectReference
@Stability(Stable) @Internal public static final class ObjectReference.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ObjectReference
An implementation forObjectReference
-
-
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.ObjectReference
ObjectReference.Builder, ObjectReference.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(ObjectReference.Builder builder)
Constructor that initializes the object based on literal property values passed by theObjectReference.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)
String
getApiVersion()
API version of the referent.String
getFieldPath()
If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].String
getKind()
Kind of the referent.String
getName()
Name of the referent.String
getNamespace()
Namespace of the referent.String
getResourceVersion()
Specific resourceVersion to which this reference is made, if any.String
getUid()
UID of the referent.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(ObjectReference.Builder builder)
Constructor that initializes the object based on literal property values passed by theObjectReference.Builder
.
-
-
Method Detail
-
getApiVersion
public final String getApiVersion()
Description copied from interface:ObjectReference
API version of the referent.- Specified by:
getApiVersion
in interfaceObjectReference
-
getFieldPath
public final String getFieldPath()
Description copied from interface:ObjectReference
If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.- Specified by:
getFieldPath
in interfaceObjectReference
-
getKind
public final String getKind()
Description copied from interface:ObjectReference
Kind of the referent.More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
- Specified by:
getKind
in interfaceObjectReference
-
getName
public final String getName()
Description copied from interface:ObjectReference
Name of the referent.More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- Specified by:
getName
in interfaceObjectReference
-
getNamespace
public final String getNamespace()
Description copied from interface:ObjectReference
Namespace of the referent.More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
- Specified by:
getNamespace
in interfaceObjectReference
-
getResourceVersion
public final String getResourceVersion()
Description copied from interface:ObjectReference
Specific resourceVersion to which this reference is made, if any.More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
- Specified by:
getResourceVersion
in interfaceObjectReference
-
getUid
public final String getUid()
Description copied from interface:ObjectReference
UID of the referent.More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
- Specified by:
getUid
in interfaceObjectReference
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-