Class V1OwnerReference
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1OwnerReference
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
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) Set apiVersion in a chainable fashion.blockOwnerDeletion
(Boolean blockOwnerDeletion) Set blockOwnerDeletion in a chainable fashion.controller
(Boolean controller) Set controller in a chainable fashion.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()
Set kind in a chainable fashion.Set name in a chainable fashion.void
setApiVersion
(String apiVersion) Set the apiVersion property valuevoid
setBlockOwnerDeletion
(Boolean blockOwnerDeletion) Set the blockOwnerDeletion property valuevoid
setController
(Boolean controller) Set the controller property valuevoid
Set the kind property valuevoid
Set the name property valuevoid
Set the uid property valuetoString()
Set uid in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_API_VERSION
- See Also:
-
JSON_PROPERTY_BLOCK_OWNER_DELETION
- See Also:
-
JSON_PROPERTY_CONTROLLER
- See Also:
-
JSON_PROPERTY_KIND
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_UID
- See Also:
-
-
Constructor Details
-
V1OwnerReference
-
-
Method Details
-
getApiVersion
API version of the referent.- Returns:
- the apiVersion property value
-
setApiVersion
Set the apiVersion property value -
apiVersion
Set apiVersion in a chainable fashion.- Returns:
- The same instance of V1OwnerReference for chaining.
-
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:
- the blockOwnerDeletion property value
-
setBlockOwnerDeletion
Set the blockOwnerDeletion property value -
blockOwnerDeletion
Set blockOwnerDeletion in a chainable fashion.- Returns:
- The same instance of V1OwnerReference for chaining.
-
getController
If true, this reference points to the managing controller.- Returns:
- the controller property value
-
setController
Set the controller property value -
controller
Set controller in a chainable fashion.- Returns:
- The same instance of V1OwnerReference for chaining.
-
getKind
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Returns:
- the kind property value
-
setKind
Set the kind property value -
kind
Set kind in a chainable fashion.- Returns:
- The same instance of V1OwnerReference for chaining.
-
getName
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names- Returns:
- the name property value
-
setName
Set the name property value -
name
Set name in a chainable fashion.- Returns:
- The same instance of V1OwnerReference for chaining.
-
getUid
UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids- Returns:
- the uid property value
-
setUid
Set the uid property value -
uid
Set uid in a chainable fashion.- Returns:
- The same instance of V1OwnerReference for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-