Class ManagedFieldsEntry.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.ManagedFieldsEntry.Jsii$Proxy
-
- All Implemented Interfaces:
ManagedFieldsEntry
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ManagedFieldsEntry
@Stability(Stable) @Internal public static final class ManagedFieldsEntry.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ManagedFieldsEntry
An implementation forManagedFieldsEntry
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.k8s.ManagedFieldsEntry
ManagedFieldsEntry.Builder, ManagedFieldsEntry.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(ManagedFieldsEntry.Builder builder)
Constructor that initializes the object based on literal property values passed by theManagedFieldsEntry.Builder
.protected
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
$jsii$toJson()
boolean
equals(Object o)
String
getApiVersion()
APIVersion defines the version of this resource that this field set applies to.String
getFieldsType()
FieldsType is the discriminator for the different fields format and version.Object
getFieldsV1()
FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.String
getManager()
Manager is an identifier of the workflow managing these fields.String
getOperation()
Operation is the type of operation which lead to this ManagedFieldsEntry being created.String
getSubresource()
Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource.Instant
getTime()
Time is the timestamp of when the ManagedFields entry was added.int
hashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(ManagedFieldsEntry.Builder builder)
Constructor that initializes the object based on literal property values passed by theManagedFieldsEntry.Builder
.
-
-
Method Detail
-
getApiVersion
public final String getApiVersion()
Description copied from interface:ManagedFieldsEntry
APIVersion defines the version of this resource that this field set applies to.The format is "group/version" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.
- Specified by:
getApiVersion
in interfaceManagedFieldsEntry
-
getFieldsType
public final String getFieldsType()
Description copied from interface:ManagedFieldsEntry
FieldsType is the discriminator for the different fields format and version.There is currently only one possible value: "FieldsV1"
- Specified by:
getFieldsType
in interfaceManagedFieldsEntry
-
getFieldsV1
public final Object getFieldsV1()
Description copied from interface:ManagedFieldsEntry
FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.- Specified by:
getFieldsV1
in interfaceManagedFieldsEntry
-
getManager
public final String getManager()
Description copied from interface:ManagedFieldsEntry
Manager is an identifier of the workflow managing these fields.- Specified by:
getManager
in interfaceManagedFieldsEntry
-
getOperation
public final String getOperation()
Description copied from interface:ManagedFieldsEntry
Operation is the type of operation which lead to this ManagedFieldsEntry being created.The only valid values for this field are 'Apply' and 'Update'.
- Specified by:
getOperation
in interfaceManagedFieldsEntry
-
getSubresource
public final String getSubresource()
Description copied from interface:ManagedFieldsEntry
Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource.The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.
- Specified by:
getSubresource
in interfaceManagedFieldsEntry
-
getTime
public final Instant getTime()
Description copied from interface:ManagedFieldsEntry
Time is the timestamp of when the ManagedFields entry was added.The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over.
- Specified by:
getTime
in interfaceManagedFieldsEntry
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-