Class V1TypedObjectReference
java.lang.Object
io.kubernetes.client.openapi.models.V1TypedObjectReference
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-09-12T23:11:52.603861Z[Etc/UTC]")
public class V1TypedObjectReference
extends Object
TypedObjectReference contains enough information to let you locate the typed referenced object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAPIGroup is the group for the resource being referenced.getKind()Kind is the type of resource being referencedgetName()Name is the name of resource being referencedNamespace 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.inthashCode()voidsetApiGroup(String apiGroup) voidvoidvoidsetNamespace(String namespace) toString()
-
Field Details
-
SERIALIZED_NAME_API_GROUP
- See Also:
-
SERIALIZED_NAME_KIND
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_NAMESPACE
- See Also:
-
-
Constructor Details
-
V1TypedObjectReference
public V1TypedObjectReference()
-
-
Method Details
-
apiGroup
-
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.- Returns:
- apiGroup
-
setApiGroup
-
kind
-
getKind
Kind is the type of resource being referenced- Returns:
- kind
-
setKind
-
name
-
getName
Name is the name of resource being referenced- Returns:
- name
-
setName
-
namespace
-
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.- Returns:
- namespace
-
setNamespace
-
equals
-
hashCode
public int hashCode() -
toString
-