Record Class DeletedFinalStateUnknown<ApiType extends KubernetesObject>
java.lang.Object
java.lang.Record
io.micronaut.kubernetes.client.openapi.informer.DeletedFinalStateUnknown<ApiType>
- Type Parameters:
ApiType- kubernetes api type- Record Components:
key- the object keyobject- the kubernetes object
- All Implemented Interfaces:
KubernetesObject, KubernetesType
@Internal
public record DeletedFinalStateUnknown<ApiType extends KubernetesObject>(String key, @Nullable ApiType extends KubernetesObject object)
extends Record
implements KubernetesObject
DeletedFinalStateUnknown is placed into a DeltaFIFO in the case where an object was deleted
but the watch deletion event was missed. In this case we don't know the final "resting" state
of the object, so there is a chance the included object is stale.
-
Constructor Summary
ConstructorsConstructorDescriptionDeletedFinalStateUnknown(String key, @Nullable ApiType object) Creates an instance of aDeletedFinalStateUnknownrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@Nullable StringGets api version.@Nullable StringgetKind()Gets kind.@Nullable V1ObjectMetaGets metadata.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.@Nullable ApiTypeobject()Returns the value of theobjectrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DeletedFinalStateUnknown
-
-
Method Details
-
getMetadata
Description copied from interface:KubernetesObjectGets metadata.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
- Specified by:
getMetadatain interfaceKubernetesObject- Returns:
- the metadata, or null if it is not available
-
getApiVersion
Description copied from interface:KubernetesTypeGets api version.APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: Resources
- Specified by:
getApiVersionin interfaceKubernetesType- Returns:
- the api version, or null if it is not available
-
getKind
Description copied from interface:KubernetesTypeGets kind.Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: Types (Kinds)
- Specified by:
getKindin interfaceKubernetesType- Returns:
- the kind, or null if it is not available
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
key
-
object
-