public Optional<String> subresource() {
        return Optional.ofNullable(this.subresource);
    }
@return 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.
sdk/java/src/main/java/com/pulumi/kubernetes/meta/v1/outputs/ManagedFieldsEntry.java