Class V1OwnerReference
java.lang.Object
io.kubernetes.client.openapi.models.V1OwnerReference
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
public class V1OwnerReference
extends Object
OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapiVersion
(String apiVersion) blockOwnerDeletion
(Boolean blockOwnerDeletion) controller
(Boolean controller) boolean
API version of the referent.If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed.If true, this reference points to the managing controller.getKind()
Kind of the referent.getName()
Name of the referent.getUid()
UID of the referent.int
hashCode()
void
setApiVersion
(String apiVersion) void
setBlockOwnerDeletion
(Boolean blockOwnerDeletion) void
setController
(Boolean controller) void
void
void
toString()
-
Field Details
-
SERIALIZED_NAME_API_VERSION
- See Also:
-
SERIALIZED_NAME_BLOCK_OWNER_DELETION
- See Also:
-
SERIALIZED_NAME_CONTROLLER
- See Also:
-
SERIALIZED_NAME_KIND
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_UID
- See Also:
-
-
Constructor Details
-
V1OwnerReference
public V1OwnerReference()
-
-
Method Details
-
apiVersion
-
getApiVersion
API version of the referent.- Returns:
- apiVersion
-
setApiVersion
-
blockOwnerDeletion
-
getBlockOwnerDeletion
If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.- Returns:
- blockOwnerDeletion
-
setBlockOwnerDeletion
-
controller
-
getController
If true, this reference points to the managing controller.- Returns:
- controller
-
setController
-
kind
-
getKind
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Returns:
- kind
-
setKind
-
name
-
getName
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names- Returns:
- name
-
setName
-
uid
-
getUid
UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids- Returns:
- uid
-
setUid
-
equals
-
hashCode
public int hashCode() -
toString
-