Package org.cdk8s.plus25.k8s
Class ObjectReference.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.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.plus25.k8s.ObjectReference
ObjectReference.Builder, ObjectReference.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ObjectReference.Builder builder)Constructor that initializes the object based on literal property values passed by theObjectReference.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)StringgetApiVersion()API version of the referent.StringgetFieldPath()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].StringgetKind()Kind of the referent.StringgetName()Name of the referent.StringgetNamespace()Namespace of the referent.StringgetResourceVersion()Specific resourceVersion to which this reference is made, if any.StringgetUid()UID of the referent.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(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:ObjectReferenceAPI version of the referent.- Specified by:
getApiVersionin interfaceObjectReference
-
getFieldPath
public final String getFieldPath()
Description copied from interface:ObjectReferenceIf 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:
getFieldPathin interfaceObjectReference
-
getKind
public final String getKind()
Description copied from interface:ObjectReferenceKind of the referent.More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
- Specified by:
getKindin interfaceObjectReference
-
getName
public final String getName()
Description copied from interface:ObjectReferenceName of the referent.More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- Specified by:
getNamein interfaceObjectReference
-
getNamespace
public final String getNamespace()
Description copied from interface:ObjectReferenceNamespace of the referent.More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
- Specified by:
getNamespacein interfaceObjectReference
-
getResourceVersion
public final String getResourceVersion()
Description copied from interface:ObjectReferenceSpecific 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:
getResourceVersionin interfaceObjectReference
-
getUid
public final String getUid()
Description copied from interface:ObjectReferenceUID of the referent.More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
- Specified by:
getUidin interfaceObjectReference
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-