Package org.cdk8s.plus28.k8s
Interface TypedObjectReference
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TypedObjectReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-03T12:13:25.878Z") @Stability(Stable) public interface TypedObjectReference extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTypedObjectReference.BuilderA builder forTypedObjectReferencestatic classTypedObjectReference.Jsii$ProxyAn implementation forTypedObjectReference
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static TypedObjectReference.Builderbuilder()default StringgetApiGroup()APIGroup is the group for the resource being referenced.StringgetKind()Kind is the type of resource being referenced.StringgetName()Name is the name of resource being referenced.default StringgetNamespace()Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference.
-
-
-
Method Detail
-
getKind
@Stability(Stable) @NotNull String getKind()
Kind is the type of resource being referenced.
-
getName
@Stability(Stable) @NotNull String getName()
Name is the name of resource being referenced.
-
getApiGroup
@Stability(Stable) @Nullable default String getApiGroup()
APIGroup is the group for the resource being referenced.If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.
-
getNamespace
@Stability(Stable) @Nullable default String getNamespace()
Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
-
builder
@Stability(Stable) static TypedObjectReference.Builder builder()
- Returns:
- a
TypedObjectReference.BuilderofTypedObjectReference
-
-